java.lang.IllegalArgumentException: unknown setting [cluster.routing.allocation.same_shard.host] did you mean any of [cluster.routing.allocation.balance.shard, cluster.routing.allocation.balance.threshold, cluster.routing.allocation.disk.watermark.high, cluster.routing.allocation.disk.watermark.low, cluster.routing.allocation.total_shards_per_node]?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Index settings can't be on the nodes via elasticsearch.yml. You need to set them at your index, or using index templates to avoid inconsistencies.

Solutions on the web

via GitHub by masaruh
, 1 year ago
unknown setting [cluster.routing.allocation.same_shard.host] did you mean any of [cluster.routing.allocation.balance.shard, cluster.routing.allocation.balance.threshold, cluster.routing.allocation.disk.watermark.high, cluster.routing.allocation.disk.watermark.low, cluster.routing.allocation.total_shards_per_node]?
via GitHub by naisanza
, 1 year ago
unknown setting [node.rack] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
via GitHub by maggienj
, 7 months ago
unknown setting [script.indexed] did you mean any of [script.inline, script.ingest]?
via GitHub by mats116
, 1 year ago
unknown setting [discovery.ec2.ping_timeout] did you mean any of [discovery.zen.ping_timeout, discovery.zen.fd.ping_timeout, discovery.zen.join_timeout, discovery.zen.publish_timeout, discovery.zen.commit_timeout]?
via GitHub by jasontedor
, 1 year ago
unknown setting [script.groovy]
java.lang.IllegalArgumentException: unknown setting [cluster.routing.allocation.same_shard.host] did you mean any of [cluster.routing.allocation.balance.shard, cluster.routing.allocation.balance.threshold, cluster.routing.allocation.disk.watermark.high, cluster.routing.allocation.disk.watermark.low, cluster.routing.allocation.total_shards_per_node]?
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:270)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:238)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:138)
at org.elasticsearch.node.Node.(Node.java:236)
at org.elasticsearch.node.Node.(Node.java:173)
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:175)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:175)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:250)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:96)
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:91)
at org.elasticsearch.cli.Command.main(Command.java:53)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:70)

Users with the same issue

Once, 9 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.