Hi. My Elastic node hung as I was installing the ingest-geoip plugin.
Now when I try to run it again it comes up with the below error message.
ingest-user-agent does the same.
Is there anyway I can fix this up without re-installing Elasticsearch and/or Java?
Thanks.
root@els03:~# time sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-geoip
-> Downloading ingest-geoip from elastic
[=================================================] 100%
Exception in thread "main" java.lang.IllegalStateException: duplicate plugin: - Plugin information:
Name: ingest-geoip
Description: Ingest processor that uses looksup geo data based on ip adresses using the Maxmind geo database
Version: 6.3.2
Elasticsearch Version: 6.3.2
Java Version: 1.8
Native Controller: false
Extended Plugins: []
* Classname: org.elasticsearch.ingest.geoip.IngestGeoIpPlugin
at org.elasticsearch.plugins.PluginsService.readPluginBundle(PluginsService.java:491)
at org.elasticsearch.plugins.PluginsService.findBundles(PluginsService.java:463)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:454)
at org.elasticsearch.plugins.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:618)
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:606)
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:717)
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:641)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:225)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:210)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:79)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)
real 0m12.780s
user 0m3.440s
sys 0m0.496s
root@els03:~#
root@els03:~# time sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-user-agent
-> Downloading ingest-user-agent from elastic
[=================================================] 100%
Exception in thread "main" java.lang.IllegalStateException: duplicate plugin: - Plugin information:
Name: ingest-user-agent
Description: Ingest processor that extracts information from a user agent
Version: 6.3.2
Elasticsearch Version: 6.3.2
Java Version: 1.8
Native Controller: false
Extended Plugins: []
* Classname: org.elasticsearch.ingest.useragent.IngestUserAgentPlugin
at org.elasticsearch.plugins.PluginsService.readPluginBundle(PluginsService.java:491)
at org.elasticsearch.plugins.PluginsService.findBundles(PluginsService.java:463)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:454)
at org.elasticsearch.plugins.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:618)
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:606)
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:717)
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:641)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:225)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:210)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:79)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)
real 0m3.494s
user 0m1.396s
sys 0m0.084s