Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.lang.IllegalArgumentException: Unknown properties in plugin descriptor: [type] #325

Open
washingon opened this issue Nov 5, 2021 · 0 comments

Comments

@washingon
Copy link

ran sudo ./bin/elasticsearch-plugin install -b https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.1.0/prometheus-exporter-7.15.1.0.zip

and get output and error:
-> Installing https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.1.0/prometheus-exporter-7.15.1.0.zip
-> Downloading https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.1.0/prometheus-exporter-7.15.1.0.zip
-> Failed installing https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.1.0/prometheus-exporter-7.15.1.0.zip
-> Rolling back https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.1.0/prometheus-exporter-7.15.1.0.zip
-> Rolled back https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.1.0/prometheus-exporter-7.15.1.0.zip
Exception in thread "main" java.lang.IllegalArgumentException: Unknown properties in plugin descriptor: [type]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:233)
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:807)
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:866)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:254)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:224)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:91)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

config:
ubuntu 20.04
elasticsearch open distro
"version" :
"number" : "7.10.2",
"build_flavor" : "oss",
"build_type" : "deb",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant