ElasticSearch 单台服务器部署多个节点 ailed to send join request to master

[2016-12-11T16:53:02,711][INFO ][o.e.d.z.ZenDiscovery ] [node-2] failed to send join request to master [{node-1}{vP19PMOyT2ilJKRAqgn78w}{jDULCExERXGHp4VXpbyuJA}{127.0.0.1}{127.0.0.1:9300}], reason [RemoteTransportException[[node-1][127.0.0.1:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {node-2}{vP19PMOyT2ilJKRAqgn78w}{qhDDVzwZQ0GXZXhIMmpGKA}{127.0.0.1}{127.0.0.1:9301}, found existing node {node-1}{vP19PMOyT2ilJKRAqgn78w}{jDULCExERXGHp4VXpbyuJA}{127.0.0.1}{127.0.0.1:9300} with the same id but is a different node instance]; ]

[2016-12-11T16:53:02,911][INFO ][o.e.x.m.e.Exporters      ] [node-2] skipping exporter [default_local] as it isn't ready yet

[2016-12-11T16:53:02,912][ERROR][o.e.x.m.AgentService    ] [node-2] exception when exporting documents

org.elasticsearch.xpack.monitoring.exporter.ExportException: exporters are either not ready or faulty    at org.elasticsearch.xpack.monitoring.exporter.Exporters.export(Exporters.java:188) ~[x-pack-5.0.2.jar:5.0.2]    at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.run(AgentService.java:208) [x-pack-5.0.2.jar:5.0.2]    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]

解决方案:需要将复制的elasticsearch文件夹下data文件中的节点数据清空即可解决该错误

你可能感兴趣的:(ElasticSearch 单台服务器部署多个节点 ailed to send join request to master)