Error while starting elastic node: failed to load bundle [file:/D:/elasticse arch/elasticsearch-5.3.0/modules/aggs-matrix-stats/aggs-matrix-stats-5.3.0.jar] due to jar hell

Getting below error while starting elastic node:

[2017-04-14T07:09:26,402][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [lonms29910] uncaught exception in thread
[main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to load bundle [file:/D:/elasticse
arch/elasticsearch-5.3.0/modules/aggs-matrix-stats/aggs-matrix-stats-5.3.0.jar] due to jar hell
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:58) ~[elasticsearch-5.3.0.
jar:5.3.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.3.0.jar:5.3.0]
Caused by: java.lang.IllegalStateException: failed to load bundle [file:/D:/elasticsearch/elasticsearch-5.3.0/modules/ag
gs-matrix-stats/aggs-matrix-stats-5.3.0.jar] due to jar hell
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:327) ~[elasticsearch-5.3.0.jar:5.3.0
]
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:118) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.node.Node.(Node.java:302) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.node.Node.(Node.java:238) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Bootstrap$6.(Bootstrap.java:242) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:242) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:360) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.3.0.jar:5.3.0]
... 6 more
Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "D:\elasticsearch\elasticsearch
-5.3.0\modules\aggs-matrix-stats\aggs-matrix-stats-5.3.0.jar" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:1.8.0_121]
at java.security.AccessController.checkPermission(AccessController.java:884) ~[?:1.8.0_121]
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) ~[?:1.8.0_121]
at java.lang.SecurityManager.checkRead(SecurityManager.java:888) ~[?:1.8.0_121]
at java.util.zip.ZipFile.(ZipFile.java:210) ~[?:1.8.0_121]
at java.util.zip.ZipFile.(ZipFile.java:149) ~[?:1.8.0_121]
at java.util.jar.JarFile.(JarFile.java:166) ~[?:1.8.0_121]
at java.util.jar.JarFile.(JarFile.java:103) ~[?:1.8.0_121]
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:175) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:325) ~[elasticsearch-5.3.0.jar:5.3.0
]
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:118) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.node.Node.(Node.java:302) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.node.Node.(Node.java:238) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Bootstrap$6.(Bootstrap.java:242) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:242) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:360) ~[elasticsearch-5.3.0.jar:5.3.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.3.0.jar:5.3.0]
... 6 more

Can you check that the user that starts Elasticsearch has permissions to read this file?

Will try n get back to you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.