java.lang.IllegalArgumentException: unknown setting [node.data] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

help !!!
i setup Cluster Elasticsearch. After config file elasticsearch.yml

node.name: es-data-1
node.data: true
Log:

java.lang.IllegalArgumentException: unknown setting [node.data] 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:575) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:521) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:491) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:461) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:151) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:56) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.node.Node.<init>(Node.java:474) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.node.Node.<init>(Node.java:324) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:216) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:216) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) ~[elasticsearch-8.7.0.jar:?]
        Suppressed: java.lang.IllegalArgumentException: unknown setting [node.client] 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:575) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:521) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:491) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:461) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:151) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:56) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.node.Node.<init>(Node.java:474) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.node.Node.<init>(Node.java:324) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:216) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:216) ~[elasticsearch-8.7.0.jar:?]
                at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) ~[elasticsearch-8.7.0.jar:?]

node.name: es-master-1
node.master: true
Log: [ERROR][o.e.b.Elasticsearch ] [es-master-1] fatal exception while booting Elasticsearch
java.lang.IllegalArgumentException: unknown setting [node.master] 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:575) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:521) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:491) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:461) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:151) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:56) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.node.Node.(Node.java:474) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.node.Node.(Node.java:324) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch$2.(Elasticsearch.java:216) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:216) ~[elasticsearch-8.7.1.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) ~[elasticsearch-8.7.1.jar:?]

How to fix error ?
P/s: Don't config node.data, node.master service start ok

Hi @tungnx1 Welcome to the community.

Perhaps take a closer look at this. The syntax has changed

Hi,

Yesterday after post. I read document version, i config node.role: [master, data].

Thanks for support.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.