# Why can't I set master.node?

**URL:** <https://discuss.elastic.co/t/why-cant-i-set-master-node/62273>\
**Category:** Elasticsearch\
**Created:** [October 5, 2016, 1:27pm UTC](https://discuss.elastic.co/t/why-cant-i-set-master-node/62273 "2016-10-05T13:27:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandonmcgrath1](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@brandonmcgrath1](https://discuss.elastic.co/u/brandonmcgrath1)\
**Post date:** [October 5, 2016, 1:27pm UTC](https://discuss.elastic.co/t/why-cant-i-set-master-node/62273/1 "2016-10-05T13:27:42Z")

</div>

I just downloaded the latest ES version off thewebsite and I can't set a node to master/data. If I add the line required, it crashes.

Whats going on here?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 5, 2016, 1:30pm UTC](https://discuss.elastic.co/t/why-cant-i-set-master-node/62273/2 "2016-10-05T13:30:45Z")

</div>

Exactly what are you trying to do? Exactly how does it crash? Presumably it gives an error message of some kind.

Please always be specific when you ask questions.

---

<div class="post-metadata">

**Author:** ![brandonmcgrath1](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@brandonmcgrath1](https://discuss.elastic.co/u/brandonmcgrath1)\
**Post date:** [October 6, 2016, 8:40am UTC](https://discuss.elastic.co/t/why-cant-i-set-master-node/62273/4 "2016-10-06T08:40:31Z")

</div>

I have made this post before and I didnt get solved.  
Here:

> [@Configuring Data and Master Node](https://discuss.elastic.co/t/configuring-data-and-master-node/61512):
>
> Hello, I'm building an ELK production cluster consisting of 1 master and 1 (maybe 2) data nodes. I'm following this guide for reference: [https://www.digitalocean.com/community/tutorials/how-to-set-up-a-production-elasticsearch-cluster-on-ubuntu-14-04](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-production-elasticsearch-cluster-on-ubuntu-14-04) My Elasticsearch version is: { "name" : "ubuntu-master", "cluster\_name" : "ubuntu-elk", "version" : { "number" : "2.4.0", "build\_hash" : "ce9f0c7394dee074091dd1bc4e9469251181fc55", "build\_timestamp" : "2016-08-29T09:14:17Z", "build\_snapsh…

All I'm trying to do is create a small topology of 1 master node and a data node. Assigning master.node: true to the file causes it to crash.  
Am I missing something obvious?

When I run the service:

```
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2016-10-06 09:37:50 BST; 1s ago

```

Log file for the cluster:

```
[2016-10-05 16:23:45,119][WARN][bootstrap] If you are logged in interactively, you will have to re-login for the new limits to take effect.
[2016-10-05 16:23:45,337][INFO][node] [Batman] version[2.4.1], pid[15630], build[c67dc32/2016-09-27T18:57:55Z]
[2016-10-05 16:23:45,338][INFO][node] [Batman] initializing ...
[2016-10-05 16:23:46,046][INFO][plugins] [Batman] modules [reindex, lang-expression, lang-groovy], plugins [], sites []
[2016-10-05 16:23:46,062][INFO][env] [Batman] using [1] data paths, mounts [[/ (/dev/mapper/master--node--vg-root)]], net usable_space [9.7gb], net total_space [15.1gb], spins? [possibly], types [ext4]
[2016-10-05 16:23:46,067][INFO][env] [Batman] heap size [1.9gb], compressed ordinary object pointers [true]
[2016-10-05 16:23:48,445][INFO][node] [Batman] initialized
[2016-10-05 16:23:48,451][INFO][node] [Batman] starting ...
[2016-10-05 16:23:48,551][INFO][transport] [Batman] publish_address {192.168.70.202:9300}, bound_addresses {192.168.70.202:9300}
[2016-10-05 16:23:48,561][INFO][discovery] [Batman] Gotham/36ogjJMhS0OHTt2iiDTb0Q
[2016-10-05 16:23:51,729][INFO][cluster.service] [Batman] new_master {Batman}{36ogjJMhS0OHTt2iiDTb0Q}{192.168.70.202}{192.168.70.202:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-10-05 16:23:51,781][INFO][http] [Batman] publish_address {192.168.70.202:9200}, bound_addresses {192.168.70.202:9200}
[2016-10-05 16:23:51,782][INFO][node] [Batman] started
[2016-10-05 16:23:51,806][INFO][gateway] [Batman] recovered [0] indices into cluster_state
[2016-10-05 16:27:10,746][INFO][node] [Batman] stopping ...
[2016-10-05 16:27:10,759][INFO][node] [Batman] stopped
[2016-10-05 16:27:10,759][INFO][node] [Batman] closing ...
[2016-10-05 16:27:10,763][INFO][node] [Batman] closed

    Elasticsearch.log

    [2016-10-05 16:19:37,398][INFO][node] [Phantom Eagle] version[2.4.1], pid[15517], build[c67dc32/2016-09-27T18:57:55Z]
    [2016-10-05 16:19:37,399][INFO][node] [Phantom Eagle] initializing ...
    [2016-10-05 16:19:38,059][INFO][plugins] [Phantom Eagle] modules [reindex, lang-expression, lang-groovy], plugins [], sites []
    [2016-10-05 16:19:38,077][INFO][env] [Phantom Eagle] using [1] data paths, mounts [[/ (/dev/mapper/master--node--vg-root)]], net usable_space [9.7gb], net total_space [15.1gb], spins? [possibly], types [ext4]
    [2016-10-05 16:19:38,077][INFO][env] [Phantom Eagle] heap size [1015.6mb], compressed ordinary object pointers [true]
    [2016-10-05 16:19:40,888][INFO][node] [Phantom Eagle] initialized
    [2016-10-05 16:19:40,890][INFO][node] [Phantom Eagle] starting ...
    [2016-10-05 16:19:41,048][INFO][transport] [Phantom Eagle] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
    [2016-10-05 16:19:41,059][INFO][discovery] [Phantom Eagle] elasticsearch/qSngXdAbQKC-TIehAdkRgQ
    [2016-10-05 16:19:44,145][INFO][cluster.service] [Phantom Eagle] new_master {Phantom Eagle}{qSngXdAbQKC-TIehAdkRgQ}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:14pm UTC](https://discuss.elastic.co/t/why-cant-i-set-master-node/62273/5 "2017-07-05T22:14:23Z")

</div>


