How does elasticsearch create "node id"?

How does elasticsearch create "node id"??

It does not work properly in the following cases.
first.
host 1 - es-node-1
host 2 - es-node-2
host 3 - es-node-3
If you kill all and change as below.
host 1 - es-node-2
host 2 - es-node-3
host 3 - es-node-1

I get an error. master not discovered or elected yet, an election requires a node with id

Why is this?

What exactly are you doing when you move the es-node-N to a different host?

It just changes the node name.

Do you mean node.name?

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