Q:有两个人掉到陷阱里了,死的人叫死人,活人叫什么?

Elasticsearch 6.0 命令行Option -E启动报错,求大佬指导,感谢!

Elasticsearch | 作者 esasdhy | 发布于2018年12月03日 | 阅读数:3847

服务器:   Ubuntu 16.04.4 LTS
内核:      4.4.0-116-generic
软件版本:elasticsearch-6.0.0
命令参数如下:
bin/elasticsearch -Edefault.path.data=/disk1/elasticsearch/data,/disk2/elasticsearch/data,/disk3/elasticsearch/data  -Edefault.path.conf=/home/elasticsearch_i1/config


启动报错:
[2018-12-03T18:18:02,703][INFO ][o.e.p.PluginsService     ] [es-i1] loaded module [repository-url]
[2018-12-03T18:18:02,703][INFO ][o.e.p.PluginsService ] [es-i1] loaded module [transport-netty4]
[2018-12-03T18:18:02,703][INFO ][o.e.p.PluginsService ] [es-i1] loaded module [tribe]
[2018-12-03T18:18:02,703][INFO ][o.e.p.PluginsService ] [es-i1] loaded plugin [x-pack]
[2018-12-03T18:18:03,916][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [es-i1] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [default.path.conf] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:134) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:121) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:69) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.0.0.jar:6.0.0]
Caused by: java.lang.IllegalArgumentException: unknown setting [default.path.conf] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:293) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:256) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:135) ~[elasticsearch-6.0.0.jar:6.0.0]

已邀请:

rochy - rochy_he

赞同来自: esasdhy

可以试一下下面的命令:
bin/elasticsearch -Epath.data=/disk1/elasticsearch/data,/disk2/elasticsearch/data,/disk3/elasticsearch/data -Epath.conf=/home/elasticsearch_i1/config
 

要回复问题请先登录注册