tencentyun / elasticsearch-repository-cos

The COS repository plugin adds support for using Tencent Cloud COS as a repository for Snapshot/Restore
Apache License 2.0
16 stars 15 forks source link

7.17.5 install error #21

Open AEGEGE opened 2 years ago

AEGEGE commented 2 years ago

-> Installing file:///opt/es_plugins/repository-cos.zip -> Downloading file:///opt/es_plugins/repository-cos.zip -> Failed installing file:///opt/es_plugins/repository-cos.zip -> Rolling back file:///opt/es_plugins/repository-cos.zip -> Rolled back file:///opt/es_plugins/repository-cos.zip Exception in thread "main" java.lang.IllegalStateException: failed to load plugin repository-cos due to jar hell at org.elasticsearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:691) at org.elasticsearch.plugins.cli.InstallPluginAction.jarHellCheck(InstallPluginAction.java:875) at org.elasticsearch.plugins.cli.InstallPluginAction.loadPluginInfo(InstallPluginAction.java:841) at org.elasticsearch.plugins.cli.InstallPluginAction.installPlugin(InstallPluginAction.java:887) at org.elasticsearch.plugins.cli.InstallPluginAction.execute(InstallPluginAction.java:245) at org.elasticsearch.plugins.cli.InstallPluginCommand.execute(InstallPluginCommand.java:88) at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:95) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) at org.elasticsearch.cli.Command.main(Command.java:77) at org.elasticsearch.plugins.cli.PluginCli.main(PluginCli.java:36) Caused by: java.lang.IllegalStateException: jar hell! class: META-INF.versions.9.org.apache.logging.log4j.core.util.SystemClock jar1: /usr/share/elasticsearch/plugins/.installing-14620984297590176826/log4j-core-2.11.1.jar jar2: /usr/share/elasticsearch/lib/elasticsearch-log4j-7.17.5.jar at org.elasticsearch.jdk.JarHell.checkClass(JarHell.java:297) at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:192) at org.elasticsearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:689)