我正在尝试使用2个节点构建Cassandra(2.1.5)集群(每个节点都是虚拟机 - 虚拟机上的Ubuntu 14.04)
第一个节点配置(cassandra.yaml):
cluster_name:'测试群集' initial_token:3074457345618258602 seed_provider: - 种子:“192.168.56.101,192.168.56.102” listen_address:192.168.56.101 rpc_address:0.0.0.0 rpc_port:9160 broadcast_rpc_address:1.2.3.4 endpoint_snitch:RackInferringSnitch
第二个节点配置(cassandra.yaml):
cluster_name:'测试群集' initial_token:0 seed_provider: - 种子:“192.168.56.101,192.168.56.102” listen_address:192.168.56.102 rpc_address:0.0.0.0 rpc_port:9160 broadcast_rpc_address:1.2.3.4 endpoint_snitch:RackInferringSnitch
在我得到的两个节点上启动Cassandra:
INFO 19:28:38在/0.0.0.0:9042上开始侦听CQL客户端... INFO 19:28:39将节俭服务绑定到/0.0.0.0:9160 INFO 19:28:39倾听节俭的客户...... INFO 19:28:57 FatClient /192.168.56.103已经沉默了30000ms,从八卦中删除 ERROR 19:29:08线程中的异常线程[OptionalTasks:1,5,main] java.lang.AssertionError:-1039847426114941815未找到 在org.apache.cassandra.locator.TokenMetadata.getPredecessor(TokenMetadata.java:683)〜[apache-cassandra-2.1.5.jar:2.1.5] 在org.apache.cassandra.locator.TokenMetadata.getPrimaryRangesFor(TokenMetadata.java:627)〜[apache-cassandra-2.1.5.jar:2.1.5] 在org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:68)〜[apache-cassandra-2.1.5.jar:2.1.5] 在org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor $ UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:82)〜[apache-cassandra-2.1.5.jar:2.1.5] at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:471)[na:1.7.0_80] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[na:1.7.0_80] at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_80] at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_80] 在java.lang.Thread.run(Thread.java:745)[na:1.7.0_80]
请帮忙!
谢谢!