I have ES 2.4.0. I am having a cluster that is running by 3 nodes when i given the following command http://localhost:9200/_cat/nodes?v i got to see there stats like these
host ip heap.percent ram.percent load node.role master name
127.0.0.1 127.0.0.1 7 73 -1.00 d m Aguja
127.0.0.1 127.0.0.1 7 73 -1.00 d m Hardwire
127.0.0.1 127.0.0.1 3 73 -1.00 d * Glitch
In the above stats you can able to see the master eligible node (i.e Glitch) and its role is datanode(d) . Eventhough it is elected master it is performing the responsibilites of both the master and also datanode.
My question is :
1)Since the Glitch is doing both master and data node tasks whether the performance of the node Glitch will be slow? and also is it a good practice in doing so?
2)Can i able to declare the node.role as dedicated master for the Glitch?
Good practice is for production systems to have 3dedicated master-eligible nodes - any other option represents an architectural compromise.
dedicated because asking a master node to also perform indexing or searching duties can put it under stress that prevents it from performing important (but lightweight) management functions necessary for a responsive cluster.
3 nodes because 1 represents a single point of failure and 2 has split-brain potential. Any more than 3 just means machines sat idle.
This is a one-size-fits-all recommendation. Inevitably people may want to cut corners so it is important to understand what you are compromising if you choose to have less than 3 master eligible nodes or force your master-eligible nodes to also take on data searching/indexing roles that might make them unresponsive under heavy load.
A dedicated master has node.data setting set to false.
Thanks for your response.Your are saying [quote="Mark_Harwood, post:7, topic:72439"]
A dedicated master has node.data setting set to false.
[/quote]
But my question is "Glitch is elected master node then why its node.role is d(data.node) rather than m(master).
Can i able to change node.role to m(master) for Glitch? Is it possible?
m means that the node is master eligible, but currently not acting as the master in the cluster. * indicates the master eligible node that is currently acting as master.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.