启动Elasticsearch

时间:2017-07-16 09:21:46

标签: elasticsearch lucene elasticsearch-plugin

启动elasticsearch-1.4.1时出现以下错误。任何人都可以帮我解决这个问题。

[2017-07-16 09:12:12,649] [错误] [plugins] [atom-es]无法启动插件,因为Lucene版本不正确:插件[4.10.4],节点[4.10.2]。 [2017-07-16 09:12:12,650] [警告] [plugins] [atom-es]未能从[jar:file:/Users/atom/asanoujam/elasticsearch-1.4.1/plugins/analysis-加载插件ICU / elasticsearch分析-ICU-2.4.3.jar!/es-plugin.properties] org.elasticsearch.ElasticsearchException:无法加载插件类[org.elasticsearch.plugin.analysis.icu.AnalysisICUPlugin]     在org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:531)     在org.elasticsearch.plugins.PluginsService.loadPluginsFromClasspath(PluginsService.java:406)     在org.elasticsearch.plugins.PluginsService。(PluginsService.java:115)     在org.elasticsearch.node.internal.InternalNode。(InternalNode.java:150)     在org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)     在org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)     在org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)     在org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) 引起:org.elasticsearch.ElasticsearchException:插件与当前节点不兼容     在org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:524)     ......还有7个 [2017-07-16 09:12:12,809] [错误] [plugins] [atom-es]无法启动插件,因为Lucene版本不正确:插件[4.10.4],节点[4.10.2]。 [2017-07-16 09:12:12,809] [警告] [plugins] [atom-es]未能从[jar:file:/Users/atom/asanoujam/elasticsearch-1.4.1/plugins/analysis-加载插件kuromoji / elasticsearch分析-kuromoji-2.7.0.jar!/es-plugin.properties] org.elasticsearch.ElasticsearchException:无法加载插件类[org.elasticsearch.plugin.analysis.kuromoji.AnalysisKuromojiPlugin]     在org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:531)     在org.elasticsearch.plugins.PluginsService.loadPluginsFromClasspath(PluginsService.java:406)     在org.elasticsearch.plugins.PluginsService。(PluginsService.java:115)     在org.elasticsearch.node.internal.InternalNode。(InternalNode.java:150)     在org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)     在org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)     在org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)     在org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) 引起:org.elasticsearch.ElasticsearchException:插件与当前节点不兼容     在org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:524)     ......还有7个 [2017-07-16 09:12:12,970] [错误] [plugins] [atom-es]无法启动插件,因为Lucene版本不正确:插件[4.10.4],节点[4.10.2]。 [2017-07-16 09:12:12,971] [WARN] [plugins] [atom-es]无法从[jar:file:/Users/atom/asanoujam/elasticsearch-1.4.1/plugins/analysis-加载插件smartcn / elasticsearch分析-smartcn-2.7.0.jar!/es-plugin.properties] org.elasticsearch.ElasticsearchException:无法加载插件类[org.elasticsearch.plugin.analysis.smartcn.AnalysisSmartChinesePlugin]     在org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:531)     在org.elasticsearch.plugins.PluginsService.loadPluginsFromClasspath(PluginsService.java:406)     在org.elasticsearch.plugins.PluginsService。(PluginsService.java:115)     在org.elasticsearch.node.internal.InternalNode。(InternalNode.java:150)     在org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)     在org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70)     在org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203)     在org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) 引起:org.elasticsearch.ElasticsearchException:插件与当前节点不兼容     在org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:524)     ......还有7个 [2017-07-16 09:12:20,141] [INFO] [plugins] [atom-es]加载[lang-mvel,cloud-aws,es-reporting-plugin,clustering-carrot2,analysis-kuromoji-neologd,analysis - 越南人],网站[carrot2,head] [2017-07-16 09:12:54,699] [INFO] [org.codelibs.elasticsearch.kuromoji.neologd.index.analysis.KuromojiDictionarySyncRunnable] Kuromoji Neologd字典同步触发 [2017-07-16 09:12:55,826] [INFO] [com.spr.elasticsearch.plugin.LookupScriptFactory]创建LookupScriptFactory,缓存大小为[100000],超时为[120] {1.4.1}:初始化失败...... - NoClassDefFoundError [org / apache / http / nio / entity / NStringEntity]     ClassNotFoundException的[org.apache.http.nio.entity.NStringEntity]

1 个答案:

答案 0 :(得分:0)

这些插件与Elasticsearch 1.4.1不兼容。您必须降级插件才能在ES 1.4.1中使用。对于ElasticSearch 1.4.1,您需要安装以下版本的插件

elasticsearch-analysis-icu - > ES 1.4.1版本2.4.1(但您尝试使用2.4.3)

elasticsearch-analysis-kuromoji - >适用于ES 1.4.1的2.4.1版(但您尝试使用2.7.0)

elasticsearch-analysis-smartcn - > ES 1.4.1版本2.4.2(但您尝试使用2.7.0)