Above is the elastic search yml file.
Error output below
failed to send join request to master [{node-2}{motkOcYTTTaa__gny7qTJg}{KXLB9hr0T9CH4T8ScbQuBQ}{10.85.17.221}{10.85.17.221:9300}], reason [RemoteTransportException[[node-2][10.85.17.221:9300][internal:discovery/zen/join]]; nested: NotMasterException[Node [{node-2}{motkOcYTTTaa__gny7qTJg}{KXLB9hr0T9CH4T8ScbQuBQ}{10.85.17.221}{10.85.17.221:9300}] not master for join request]; ], tried [3] times
please take some more time to describe your setup. Two nodes? No lode balancing? No virtual IPs or anything?
What are the logs on the other node showing (the log message indicates this node is not a master node either, but there should be a reason why this is the case).
[node-2] failed to send join request to master [{node-1}{motkOcYTTTaa__gny7qTJg}{bejYCDrRTkqYHK0I1FKtEQ}{10.85.17.220}{10.85.17.220:9300}], reason [RemoteTransportException[[node-1][10.85.17.220:9300][internal:discovery/zen/join]]; nested: NotMasterException[Node [{node-1}{motkOcYTTTaa__gny7qTJg}{bejYCDrRTkqYHK0I1FKtEQ}{10.85.17.220}{10.85.17.220:9300}] not master for join request]; ], tried [3] times
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.