We were using elasticsearch with only 1 node i.e. ES01 which also have log data of almost 2 weeks. Now we are trying to expand to 3 nodes with additional 2 servers i.e. ES02 & ES03, configured yml files on these 2 servers with same cluster name and parameters. Defining ES01 & ES03 as data node and ES02 as master node. But when we checking through "GET /_cluster/state?pretty" only ES02 node is reflecting, other 2 nodes are not reflecting.
Also checked through cluster logs, getting below error :
Caused by: java.lang.IllegalStateException: failure when sending a validation request to node
Caused by: org.elasticsearch.transport.RemoteTransportException: [es-01][10.0.0.4:9300][internal:cluster/coordination/join/validate]
Caused by: org.elasticsearch.cluster.coordination.CoordinationStateRejectedException: join validation on cluster state with a different cluster uuid 6dNKxAyJQOWO-fB2jKK8GA than local cluster uuid bHr4ENdkT0yt92UWGhDLYw, rejecting
Can you please check and let me know what is the resolution of this error/issue ?