How to create a master eligible node in elasticsearch 5


#1

Hi,

In elasticsearch 2.3, I have set up master eligible node by setting;

node.client: false
node.data: true

But in elasticsearch 5, I am getting error like

unknown setting [node.client]

How can I fix this, or how can I make a master eligible node (i would like to setup a cluster of 3 ME nodes) in elasticsearch 5?


(Mark Walkom) #2

See https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_50_settings_changes.html#_node_types_settings


(Christian Dahlqvist) #3

As Mark pointed out, the node.client setting has been removed as it is redundant. A client node is basically a node that has node.data and mode.master both set to false.


#4

Ok.. So do my settings make it a master eligible node?


(Christian Dahlqvist) #5

Setting node.master to true will make the node master eligible whether it holds data or not.


Node types and cluster settings in ES 5.x
(system) #6