阿帕奇·卡桑德拉(Apache Cassandra):无法八卦 [英] Apache Cassandra: Unable to gossip with any seeds

查看:75
本文介绍了阿帕奇·卡桑德拉(Apache Cassandra):无法八卦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了Cassandra服务器2.0.3,然后运行它。它正在启动,然后停止并显示以下消息:

I have built Cassandra server 2.0.3, then run it. It is starting and then stopped with messages:

X:\MyProjects\cassandra\apache-cassandra-2.0.3-src\bin>cassandra.bat >log.txt
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)

运行该程序我可以更改什么?

What I can change to run it?

推荐答案

我的cassandra v2.0.4集群运行单个节点时,我遇到了类似的问题。

I had a similar problem with my cassandra v2.0.4 cluster running a single node.

检查您的cassandra.yaml,并确保您的 listen_address和 seeds值匹配,但 seed值需要用引号引起来。

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.

这篇关于阿帕奇·卡桑德拉(Apache Cassandra):无法八卦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆