搭建elsticsearch集群 报错with the same id but is a different node instance解决办法
来源:互联网 发布:孔莹网络春晚 编辑:程序博客网 时间:2024/05/29 10:21
搭建elsticsearch集群的时候,先用windows 10和 ubuntu 16.04试了一下,发现可以。然后将虚拟机里的ubunut复制一份,然后一直报错如下:
- [2017-08-30T15:17:40,016][INFO ][o.e.d.z.ZenDiscovery ] [pros-node-2]
- failed to send join request to master [{pros-node-1}{Dhq0h4IHS6GF4MgFwc1Vhw}{w8mXRXG6S6qvSnjHGqrYwQ}{10.45.32.90}{10.45.32.90:10800}],
- reason [RemoteTransportException[[pros-node-1][10.45.32.90:10800][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {pros-node-2}
- {Dhq0h4IHS6GF4MgFwc1Vhw}{EttroN0-StienfP37gyLag}
- {10.45.32.30}{10.45.32.30:10800}, found existing node {pros-node-1}{Dhq0h4IHS6GF4MgFwc1Vhw}{w8mXRXG6S6qvSnjHGqrYwQ}{10.45.32.90}{10.45.32.90:10800}
- with the same id but is a different node instance]; ]
然后百度发现问题,是因为复制虚拟机时,elsticsearch时,将elsticsearch文件夹下的data文件夹一并复制了。而在前面测试时,data文件夹下已经产生了data数据,于是报上面的错误。
解决办法:删除elsticsearch文件夹下的data文件夹下的节点数据
binggo!
阅读全文
0 0
- 搭建elsticsearch集群 报错with the same id but is a different node instance解决办法
- spring(错误三) 报错" a different object with the same identifier value was already associated ..."
- 报错信息:Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier
- hibernate报错a different object with the same identifier value was already associated with the session
- hibernate保存报错:a different object with the same identifier value was already associated with the ses
- Hibernate报错解决 a different object with the same identifier value was already associated with the sess
- a different object with the same identifier value was already associated with the session的解决办法
- a different object with the same identifier value was already associated with the session异常解决办法
- a different object with the same identifier
- Hiberate框架进行更新时,报错 :a different object with the same identifier value was already ..
- hibernate在saveOrUpdate时,update报错:a different object with the same identifier value was already assoc
- 解决a different object with the same identifier value was already associated with the session错
- 打包的时候报错 An asset is marked with HideFlags.DontSave but is included in the build的解决办法
- a different object with the same identifier value
- a different object with the same identifier value
- a different object with the same identifier value
- org.hibernate.NonUniqueObjectException: a different object with the same ide
- org.hibernate.NonUniqueObjectException: a different object with the same ide
- The method xxx() of type xx must override or implement a supertype method
- Elasticsearch初体验
- 反转单链表
- 【真题 腾讯】满二叉搜索树求三个节点的最低公共祖先
- android创建自定义控件步骤
- 搭建elsticsearch集群 报错with the same id but is a different node instance解决办法
- bootstrap-treeview 中文api
- 多线程学习之路-学习master-worker设计模式
- React-Native实现登录页面,并显示和清除用户的输入
- oracle中的函数介绍(一):nvl函数、decode函数、case when函数、sum函数
- OSI七层与TCP/IP五层网络架构,个人理解,通过一个http请求的全过程,分析在协议栈中的流转过程
- AndroidStudio-mac
- linux下安装gcc
- 是否可以联网 wininet