Unable to start Elasticsearch 6.1.1 while configuring lang-groovy plugin


(Rakhi Rajpoot) #1

description=lang-groovy Plugin
version=2.4.5
name=lang-groovy
elasticsearch.version=6.1.1
java.version=1.8
classname=org.elasticsearch.script.groovy.GroovyPlugin


(Christian Dahlqvist) #2

I am not sure the groovy plugin is compatible with Elasticsearch 6.x given that support for Groovy has been removed.


(Rakhi Rajpoot) #3

I am getting this error------

Caused by: java.lang.IllegalStateException: C:\software\elasticsearch-6.1.1\plugins\lang-groovy-2.4.5\lang-groovy-2.4.5.jar requires Elasticsearch 2.4.5, your system: 6.1.1
at org.elasticsearch.bootstrap.JarHell.checkManifest(JarHell.java:230) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:183) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:379) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:142) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.node.Node.(Node.java:302) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.node.Node.(Node.java:245) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:212) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:322) ~[elasticsearch-6.1.1.jar:6.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-6.1.1.jar:6.1.1]

it seems that version of lang-groovy and elasticsearch should be same,but the lang-groovy 6.x is not avialable,what should I do to use the script in Elasticseach 6.x?


(Christian Dahlqvist) #4

For Elasticsearch 6.x the default scripting language is Painless. Documentation is available here.


(system) #5

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