exception - Elasticsearch 5.0.0. cluster node not joining -
ok shouldn't hard, i'm trying run 2 nodes in elasticsearch cluster , getting exception when trying start node-1(node-2 master started). using elasticsearch v 5.0.0 both instances
exception: failed send join request master, reason remotetransportexception can't add node found existing node same id different node instance]
node-1 config:
node.name: sannnnn-1
network.host: 10.3.185.250
discovery.zen.ping.unicast.hosts: ["10.3.185.251:9300"]
node-2 config:
node.name: san-2
network.host: 10.3.185.251
discovery.zen.ping.unicast.hosts: ["10.3.185.251:9300"]
full exception on node 2:
[info ][o.e.d.z.zendiscovery ] [sannnnn-1] failed send join request master [{san-2}{dxexoyhhtu2-rfvuvqsueg}{ofybe97hqcmcha63cfiylq}{10.3.185.251}{10.3.185.251:9300}], reason [remotetransportexception[[san-2][10.3.185.251:9300][internal:discovery/zen/join]]; nested: illegalargumentexception[can't add node {sannnnn-1}{dxexoyhhtu2-rfvuvqsueg}{hp4glrugrgwzsunnehghsw}{10.3.185.250}{10.3.185.250:9300}, found existing node {san-2}{dxexoyhhtu2-rfvuvqsueg}{ofybe97hqcmcha63cfiylq}{10.3.185.251}{10.3.185.251:9300} same id different node instance]; ]
ok issue copying elasticsearch folder 1 node on scp. elasticsearch saves node id in elasticsearch/data/ folder. deleted data folder on 1 node , restarted it. cluster , running. hope saves hassle.
Comments
Post a Comment