# Getting error while setting up new cluster ES version 8.1.1

**URL:** <https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133>\
**Category:** Elasticsearch\
**Created:** [October 21, 2024, 7:30am UTC](https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133 "2024-10-21T07:30:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![greatvikas123](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@greatvikas123](https://discuss.elastic.co/u/greatvikas123)\
**Post date:** [October 21, 2024, 7:30am UTC](https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133/1 "2024-10-21T07:30:03Z")

</div>

ES is not starting.  
systemctl start elasticsearch  
Job for elasticsearch.service failed because the control process exited with error code.  
See "systemctl status elasticsearch.service" and "journalctl -xeu elasticsearch.service" for details.

Seeing following errors in application log :  
[2024-10-19T14:17:31,978][ERROR][o.e.b.Elasticsearch] [vb-es03] 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:563) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:132) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:50) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.node.Node.(Node.java:494) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.node.Node.(Node.java:344) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.bootstrap.Elasticsearch$2.(Elasticsearch.java:236) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:236) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-8.11.1.jar:?]  
Suppressed: java.lang.IllegalArgumentException: unknown setting [discovery.zen.minimum\_master\_nodes] 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:563) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:132) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:50) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.node.Node.(Node.java:494) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.node.Node.(Node.java:344) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.bootstrap.Elasticsearch$2.(Elasticsearch.java:236) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:236) ~[elasticsearch-8.11.1.jar:?]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-8.11.1.jar:?]  
Suppressed: java.lang.IllegalArgumentException: unknown setting [node.data] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

My yml file on all 3 cluster nodes is as follows :  
#This node would be master eligible:  
node.master: true  
#This node would be a data node as well:  
node.data: true  
#Name the ES cluster  
cluster.name: my-application  
#The initial set of master-eligible nodes  
cluster.initial\_master\_nodes: ["10.50.20.14", "10.50.20.15", "10.50.20.16"]  
#Keep node name as the hostname of the server. Would be easier to track.  
node.name: vb-es01  
#Where the data would be stored  
path.data: /var/lib/elasticsearch  
#Where the logs would be stored  
path.logs: /var/log/elasticsearch  
#Disabling swappingfor performance boost  
bootstrap.memory\_lock: true  
#Enter the private IP of your node along with the localhost entry:  
network.host: [127.0.0.1, 10.50.20.14]  
#Private IPs of all your nodes:  
discovery.seed\_hosts: ["10.50.20.14", "10.50.20.15", "10.50.20.16"]  
#To avoid split brain (N/2 + 1):  
discovery.zen.minimum\_master\_nodes: 2

# Require explicit names when deleting indices:

action.destructive\_requires\_name: true

Need help in starting the cluster.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 21, 2024, 6:03pm UTC](https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133/2 "2024-10-21T18:03:55Z")

</div>

Hi @greatvikas123,

Welcome! It looks like you are setting properties that do not exist, in this case `node.master` and `node.data`. [As covered in this answer](https://discuss.elastic.co/t/elasticsearch-8-1-0-cluster-issue/302300/4), you need to use the [`node.roles` option](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html):

`node.roles: [data, master]`

Hope that helps!

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [October 22, 2024, 3:29am UTC](https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133/3 "2024-10-22T03:29:33Z")

</div>

What doc are you using? What install method?

Always start with the config files from the distro, not from blogs, examples or non Elastic sources.
