I am having a problem with Elastic 2.3.4 where nodes do not see each other.
When I try to boot them, both nodes are "started", but when checking cluster health I get master_not_discovered_exception (503)
I don't see network.host (see reference docs) and by default each instance binds only to loopback. Are both instances on different machines?
I assume this is just your test setup but please be aware that 2 nodes is not ideal because with discovery.zen.minimum_master_nodes = 1 you risk split brain and with discovery.zen.minimum_master_nodes= 2 you reduce availability (as both master nodes need to be up all the time).
Thanks Daniel,
In our 1.5.2 production cluster we have more then 30 nodes, each on different machine. Now I am upgrading to 2.3.4, so I just wanted to test the new setup. Also in the test env, both instances on different machines.
in 1.5.2 our setting are:
Please note that network.host is not defined in 1.5.2 and its working fine. So, which setup do you suggest me to set in 2.3.4, and keep same configuration file for all, as in 1.5.2? (I understand that if I set network.host to a fixed IP address, I can't use same configuration file).
Also, I can run my test on 8 new machines that I have, if needed...
Thanks!
It worked after setting network.host to ${HOSTNAME}.
(and discovery.zen.minimum_master_nodes= 2)
In that way I could still use the same configuration file to all.
Is it OK?
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.