搭建elasticsearch集群报错:with the same id but is a different node instance]; ]

本文记录了在搭建Elasticsearch单机多节点时遇到的错误,错误信息显示存在相同ID但实例不同的问题。错误产生原因是将作为master的Elasticsearch配置复制给了slave节点。解决方法是参照链接提供的方案,删除复制的slave节点的Elasticsearch文件夹。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

记录一下在安装 elastic-search 单机多节点是时候报错解决方案。

[INFO ][o.e.d.z.ZenDiscovery     ] [slave-one] failed t
o send join request to master [{master}{-S9Jc4AYR-ODB8a8Wj5oCg}{cAR_0nC9RTSAdUcy
jnJjLg}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=8479907840, ml.max_open_job
s=20, xpack.installed=true, ml.enabled=true}], reason [RemoteTransportException[
[master][127.0.0.1:9300][internal:discovery/zen/join]]; nested: IllegalArgumentE
xception[can't add node {slave-one}{-S9Jc4AYR-ODB8a8Wj5oCg}{_r6Xx7QNRIev_hpn6mhd
ZQ}{127.0.0.1}{127.0.0.1:9301}{ml.machine_memory=8479907840, ml.max_open_jobs=20
, xpack.installed=true, ml.enabled=true}, found existing node {master}{-S9Jc4AYR
-ODB8a8Wj5oCg}{cAR_0nC9RTSAdUcyjnJjLg}{127.0.0.1}{127.0.0.1:9300}{ml.machine_mem
ory=8479907840, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} with
 the same id but is a different node instance]; ]

报错提示,关键信息:


                
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值