[2018-12-13T00:39:17,007][INFO ][o.e.d.z.ZenDiscovery ] [node-1] failed to send join request to master [{node-2}{KaO-RmXBQYKDukApaHOW8g}{L9ODM6TdTUmp5JNlyM7mKg}{IP}{IP:9300}{ml.machine_memory=4135096320, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}], reason [RemoteTransportException[[node-2][IP:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {node-1}{KaO-RmXBQYKDukApaHOW8g}{RB-Oa2GNTyON1wy5UC0aPQ}{IP}{IP:9300}{ml.machine_memory=4135108608, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, found existing node {node-2}{KaO-RmXBQYKDukApaHOW8g}{L9ODM6TdTUmp5JNlyM7mKg}{IP}{IP:9300}{ml.machine_memory=4135096320, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} with the same id but is a different node instance]; ]
[2018-12-13T01:16:29,714][INFO ][o.e.d.z.ZenDiscovery ] [node-1] failed to send join request to master [{node-2}{KaO-RmXBQYKDukApaHOW8g}{L9ODM6TdTUmp5JNlyM7mKg}{IP}{IP:9300}{ml.machine_memory=4135096320, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}], reason [RemoteTransportException[[node-2][IP:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {node-1}{KaO-RmXBQYKDukApaHOW8g}{RB-Oa2GNTyON1wy5UC0aPQ}{IP}{IP:9300}{ml.machine_memory=4135108608, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, found existing node {node-2}{KaO-RmXBQYKDukApaHOW8g}{L9ODM6TdTUmp5JNlyM7mKg}{IP}{IP:9300}{ml.machine_memory=4135096320, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} with the same id but is a different node instance]; ]
I believe the ID is generated when the node first starts up, so I assume you started Elasticsearch on the node before you took the image? This would in that case explain the issue. restarting while clearing the data directory and should force a new ID to be generated. There may be easier ways to correct this, but I have not encountered this before.
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.