Master not discovered or elected yet

Hello,

I have a cluster with 4 nodes. Where node 1 is master and all other nodes i set master as false.

I tried to connect with 3 nodes properly when i start connecting with node 4 in same cluster i got the following error

master not discovered or elected yet, an election requires at least 2 nodes with ids (XXXX, yyyyyy)

[2019-11-07T06:45:33,425][TRACE][o.e.d.PeerFinder ] [node-1] startProbe(XX.XX.XX.XX:9300) not probing local node[2019-11-07T06:45:33,426][TRACE][o.e.d.SeedHostsResolver  ] [node-1] resolved host [XX.XX.XX.XX] to [XX.XX.XX.XX:9300][2019-11-07T06:45:33,427][TRACE][o.e.d.PeerFinder ] [node-1] probing resolved transport addresses [][2019-11-07T06:45:33,429][TRACE][o.e.d.PeerFinder] [node-1] Peer{transportAddress=YY.YY.YY.YY:9300, discoveryNode={node-2}{DWIcFNpVTveixJFv9HDl-Q}{Ckx6sPDIS6mSlNvDTaq36g}{YY.YY.YY.YY}{YY.YY.YY.YY:9300}{dilm}{ml.machine_memory=67275157504, ml.max_open_jobs=20, xpack.installed=true}, peersRequestInFlight=true} received PeersResponse{masterNode=Optional.empty, knownPeers=[{node-1}{0ke8pQgxT56nvrgBk4cgXg}{QwHgsNo4SYefBr9f0vi6Dw}{XX.XX.XX.XX}{XX.XX.XX.XX:9300}{dim}{ml.machine_memory=67275157504, ml.max_open_jobs=20, xpack.installed=true}], term=83}[2019-11-07T06:45:33,430][TRACE][o.e.d.PeerFinder         ] [node-1] startProbe(XX.XX.XX.XX:9300) not probing local node [2019-11-07T06:45:34,007][TRACE][o.e.d.PeerFinder] [node-1] startProbe(XX.XX.XX.XX:9300) not probing local node

[2019-11-07T06:45:34,158][TRACE][o.e.d.PeerFinder ] [node-1] startProbe(XX.XX.XX.XX:9300) not probing local node [2019-11-07T06:45:34,426][TRACE][o.e.d.PeerFinder ] [node-1] Peer{transportAddress=YY.YY.YY.YY:9300, discoveryNode={node-2}{DWIcFNpVTveixJFv9HDl-Q}{Ckx6sPDIS6mSlNvDTaq36g}{YY.YY.YY.YY}{YY.YY.YY.YY:9300}{dilm}{ml.machine_memory=67275157504, ml.max_open_jobs=20, xpack.installed=true},

That's not the whole message, and the bit of the message you have deleted is usually the bit that explains the issue.

That doesn't help. We need to see the rest of the message that starts master not discovered or elected yet.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.