亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

在不同機器上,配置后無法啟動

[2019-04-17T11:15:23,613][INFO ][o.e.p.PluginsService? ? ?] [slave3] no plugins loaded

[2019-04-17T11:15:31,538][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [slave3] uncaught exception in thread [main]

org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [discovery.zen,ping.unicast.hosts] 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:163) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.0.0.jar:7.0.0]

Caused by: java.lang.IllegalArgumentException: unknown setting [discovery.zen,ping.unicast.hosts] 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:531) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:476) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:418) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:148) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.node.Node.<init>(Node.java:341) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.node.Node.<init>(Node.java:251) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:211) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:211) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:325) ~[elasticsearch-7.0.0.jar:7.0.0]

? ? ? ? at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-7.0.0.jar:7.0.0]

錯誤提示:


配置:

#node.attr.rack: r1

#

# ----------------------------------- Paths ------------------------------------

#

# Path to directory where to store the data (separate multiple locations by comma):

#

#path.data: /path/to/data

#

# Path to log files:

#

#path.logs: /path/to/logs

#

# ----------------------------------- Memory -----------------------------------

#

# Lock the memory on startup:

#

#bootstrap.memory_lock: true

#

# Make sure that the heap size is set to about half the memory available

# on the system and that the owner of the process is allowed to use this

# limit.

#

# Elasticsearch performs poorly when the system is swapping the memory.

#

# ---------------------------------- Network -----------------------------------

#

# Set the bind address to a specific IP (IPv4 or IPv6):

#

#network.host: 192.168.0.1

#

# Set a custom port for HTTP:

#

#http.port: 9200

#

# For more information, consult the network module documentation.

#

# --------------------------------- Discovery ----------------------------------

#

# Pass an initial list of hosts to perform discovery when this node is started:

# The default list of hosts is ["127.0.0.1", "[::1]"]

#

#discovery.seed_hosts: ["host1", "host2"]

#

# Bootstrap the cluster using an initial set of master-eligible nodes:

#

cluster.initial_master_nodes: ["192.168.1.103:9200", "node-2"]

#

# For more information, consult the discovery and cluster formation module documentation.

#

# ---------------------------------- Gateway -----------------------------------

#

# Block initial recovery after a full cluster restart until N nodes are started:

#

#gateway.recover_after_nodes: 3

#

# For more information, consult the gateway module documentation.

#

# ---------------------------------- Various -----------------------------------

#

# Require explicit names when deleting indices:

#

#action.destructive_requires_name: true


http.cors.enabled: true

http.cors.allow-origin: "*"

cluster.name: wail

node.name: slave3

network.host: 192.168.1.106

discovery.zen,ping.unicast.hosts: ["192.168.1.103"]


正在回答

2 回答

樓上正解

0 回復 有任何疑惑可以回復我~
unknown?setting?[discovery.zen,ping.unicast.hosts]?please?check?that?any?required?plugins?are?installed,

很明顯,?discovery.zen,ping.unicast.hosts? ? zen 后面,應該是一個 點? 【.】,而你輸入的是一個? 逗號 ~?

0 回復 有任何疑惑可以回復我~
#1

qq_寶慕林5593156

點不對
2021-12-30 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

在不同機器上,配置后無法啟動

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號