We are using Elasticsearch version 7.0 can someone pleasse help us to resolve this issue.
Error:
"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}
Master config file:
node.name: master
node.master: true
node.node: false
network.host: 0.0.0.0
http.port: 9200
discovery.seed_hosts: ["127.0.0.1", "10.132.0.98"]
cluster.initial_master_nodes: ["master"]
cloud.gce.project_id: sport360-comandtv
cloud.gce.zone: europe-west1-b
discovery.zen.hosts_provider: gce
xpack.security.enabled: false
Data Node config file:
node.name: data-1
node.master: false
node.data: true
network.host: 0.0.0.0
transport.tcp.port: 9300
discovery.seed_hosts: ["127.0.0.1", "10.132.0.113"]
cluster.initial_master_nodes: ["master"]
cloud.gce.project_id: sport360-comandtv
cloud.gce.zone: europe-west1-b
discovery.zen.hosts_provider: gce
xpack.security.enabled: false
Error in Master node:
[master] failed to validate incoming join request from node [{data-1}{eOj2OtQ0QE663Ts1Qmx_xg}{awRkr2mNSEenNkJRJpetCQ}{10.132.0.98}{10.132.0.98:9300}{ml.machine_memory=4114259968, ml.max_open_jobs=20, xpack.installed=true}]
org.Elasticsearch.transport.RemoteTransportException: [data-1][10.132.0.98:9300][internal:cluster/coordination/join/validate]
Caused by: org.Elasticsearch.cluster.coordination.CoordinationStateRejectedException: join validation on cluster state with a different cluster uuid Z8JHa3BBTJK-UQzowgdS5g than local cluster uuid o8Z4PrntRxKApbtBDUm1Ww, rejecting
Error in data node:
] [data-1] failed to join {master}{JJZ10gycSEemYFn08RDbMQ}{LHgYyHolQxOlvCh5WzoO4w}{10.132.0.113}{10.132.0.113:9300}{ml.machine_memory=4114276352, ml.max_open_jobs=20, xpack.installed=true} with JoinRequest{sourceNode={data-1}{eOj2OtQ0QE663Ts1Qmx_xg}{awRkr2mNSEenNkJRJpetCQ}{10.132.0.98}{10.132.0.98:9300}{ml.machine_memory=4114259968, xpack.installed=true, ml.max_open_jobs=20}, optionalJoin=Optional[Join{term=27, lastAcceptedTerm=5, lastAcceptedVersion=26, sourceNode={data-1}{eOj2OtQ0QE663Ts1Qmx_xg}{awRkr2mNSEenNkJRJpetCQ}{10.132.0.98}{10.132.0.98:9300}{ml.machine_memory=4114259968, xpack.installed=true, ml.max_open_jobs=20}, targetNode={master}{JJZ10gycSEemYFn08RDbMQ}{LHgYyHolQxOlvCh5WzoO4w}{10.132.0.113}{10.132.0.113:9300}{ml.machine_memory=4114276352, ml.max_open_jobs=20, xpack.installed=true}}]}
org.Elasticsearch.transport.RemoteTransportException: [master][10.132.0.113:9300][internal:cluster/coordination/join]
Caused by: java.lang.IllegalStateException: failure when sending a validation request to node.