沙师弟,师父的充电器掉了

es5.0启动报错

Elasticsearch | 作者 yemaohai2016 | 发布于2016年12月12日 | 阅读数:5978

[es@h-keiysb5o bin]$ ./elasticsearch
[2016-12-12T13:23:01,172][INFO ][o.e.n.Node               ] [node-17] initializing ...
[2016-12-12T13:23:01,253][INFO ][o.e.e.NodeEnvironment    ] [node-17] using [1] data paths, mounts [[/data (/dev/mapper/vg01-lvg01)]], net usable_space [715.4gb], net total_space [984.1gb], spins? [possibly], types [ext4]
[2016-12-12T13:23:01,254][INFO ][o.e.e.NodeEnvironment    ] [node-17] heap size [15.9gb], compressed ordinary object pointers [true]
[2016-12-12T13:23:01,256][INFO ][o.e.n.Node               ] [node-17] version[5.0.0], pid[23732], build[253032b/2016-10-26T04:37:51.531Z], OS[Linux/3.10.0-229.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_74/25.74-b02]
[2016-12-12T13:23:02,038][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-17] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: the version needs to contain major, minor, and revision, and optionally the build: ${elasticsearch.version}
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:116) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.cli.Command.main(Command.java:62) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-5.0.0.jar:5.0.0]
Caused by: java.lang.IllegalArgumentException: the version needs to contain major, minor, and revision, and optionally the build: ${elasticsearch.version}
        at org.elasticsearch.Version.fromString(Version.java:210) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:106) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:370) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:143) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.node.Node.<init>(Node.java:281) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.node.Node.<init>(Node.java:220) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:191) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) ~[elasticsearch-5.0.0.jar:5.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) ~[elasticsearch-5.0.0.jar:5.0.0]
        ... 6 more


哪位大神帮忙看下是什么原因啊
 
已邀请:

yemaohai2016 - ES初学者

赞同来自:

补充一下,是安装了IK分词器导致的,哪怎么处理呢
 

wungking - 90后it

赞同来自:

你看你的版本是不是对应好了, IK分词器的github上有版本对照表,你可以看看

要回复问题请先登录注册