java.lang.IllegalArgumentException: node settings must not contain any index level settings

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 mubinn
, 1 year ago
node settings must not contain any index level settings
java.lang.IllegalArgumentException: node settings must not contain any index level settings
at org.elasticsearch.common.settings.SettingsModule.configure(SettingsModule.java:113)
at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:233)
at org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:103)
at org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:148)
at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:96)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:46)
at org.elasticsearch.node.Node.(Node.java:229)
at org.elasticsearch.node.Node.(Node.java:161)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:189)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:263)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:111)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:88)
at org.elasticsearch.cli.Command.main(Command.java:53)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74)

Users with the same issue

Once, 11 months ago

Write tip

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