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]?

GitHub | masaruh | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug 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.
  2. 0

    Can't set cluster.routing.allocation.same_shard.host

    GitHub | 6 months ago | masaruh
    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]?
  3. 0

    ES 5 wont start with config setting index.number_of_shards

    GitHub | 10 months ago | mubinn
    java.lang.IllegalArgumentException: node settings must not contain any index level settings
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't run snapshot build of elasticsearch 5.0 with plugins

    GitHub | 11 months ago | colings86
    java.lang.IllegalArgumentException: Plugin [ingest-grok] is incompatible with Elasticsearch [5.0.0]. Was designed for version [3.0.0-SNAPSHOT]
  6. 0

    Option to run ES as root not recognized

    GitHub | 9 months ago | dayjavid
    java.lang.IllegalArgumentException: unknown setting [insecure.allow.root]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. ElasticSearch
    Elasticsearch.execute
    1. org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:270)
    2. org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:238)
    3. org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:138)
    4. org.elasticsearch.node.Node.<init>(Node.java:236)
    5. org.elasticsearch.node.Node.<init>(Node.java:173)
    6. org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:175)
    7. org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:175)
    8. org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:250)
    9. org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:96)
    10. org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:91)
    10 frames
  3. org.elasticsearch.cli
    Command.main
    1. org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54)
    2. org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:91)
    3. org.elasticsearch.cli.Command.main(Command.java:53)
    3 frames
  4. ElasticSearch
    Elasticsearch.main
    1. org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:70)
    2. org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:63)
    2 frames