cassandra运行出现了Unable to gossip with any seeds,cqlsh链接不上,提示connection refused处理办法
cassandra运行出现了Unable to gossip with any seeds,cqlsh链接不上,提示connection refused处理办法
问题描述
当启动了cassandra之后出现:
java.lang.RuntimeException: Unable to gossip with any seeds at org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1160) at org.apache.cassandra.service.StorageService.checkForEndpointCollision (StorageService.java:416) at org.apache.cassandra.service.StorageService.joinTokenRing(StorageServ ice.java:608) at org.apache.cassandra.service.StorageService.initServer(StorageService .java:576) at org.apache.cassandra.service.StorageService.initServer(StorageService .java:475) at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.ja va:346) at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon .java:461) at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.jav a:504)
出现这个问题的原因是cassandra.yaml配置文件的seeds 与 ip 设置错误。
Check your cassandra.yaml and make sure that your "listen_address" and "seeds" values match, with the exception that the seeds value requires quotes around it.
请检查seeds 和 listen_address 是一致的。
另外,如果你采用了我的上篇文章中的scutils方法设置了hostname, 那么请将seeds配置中的127.0.0.1改成你的hostname。
最新文章
- Linux0.11内核--内存管理之2.配合fork
- git cherry-pick合并某个commit
- 7个惊艳的HTML5 Canvas动画效果及源码
- 【转载】20分钟MySQL基础入门
- ubuntu eclipse 安装svn
- css3 文本记
- Pjax介绍及在asp.net MVC3中使用pjax的简单示例
- Show username instead of ";System Account"; in SharePoint 2010
- C#,Java,C++中的finally关键字
- 图片的 base64 编码
- HDU 1079 Calendar Game 博弈
- 选择法排序 vb.net
- JavaScript模块化 --- Commonjs、AMD、CMD、es6 modules
- 百度搜索推出惊雷算法严厉打击刷点击作弊行为-SEO公司分享
- 解决XShell不能使用小键盘的问题
- 15. DML, DDL, LOGON 触发器
- python调用C++之pybind11入门(相互调用)
- Asp.net Web Api开发Help Page 添加对数据模型生成注释的配置和扩展
- Jenkins系列-Jenkins构建触发器
- vSphereClient向ESXi主机分配许可证
热门文章
- HTTP协议综合
- Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
- 【转】java 线程的几种状态
- Linux shell中一些参数与变量简介
- 超具体Windows版本号编译执行React Native官方实例UIExplorer项目(多图慎入)
- CentOS7系统安装Nginx进行跨域处理
- ajax请求,返回值为304 Not Modified 错误原因与解决办法
- picasso 在魅族手机无法加载缩略图的bug
- ODI 创建Java EE Agent
- python之函数用法islower()