简体   繁体   English

如何使用sstableloader填充Cassandra集群?

[英]How do you use sstableloader to populate a Cassandra Cluster?

I have set up a 3 node Cassandra Cluster on EC2 using Whirr. 我已经使用Whirr在EC2上建立了一个3节点的Cassandra集群。 I also have a 4th EC2 instance which I am using to write sstables following the example from DataStax . 我还有一个第4个EC2实例,我正在按照DataStax示例编写sstables。

Once the sstables are written I am attempting to load the Cassandra Cluster however I keep getting : 写入sstables后,我尝试加载Cassandra集群,但是我不断得到:

Starting client (and waiting 30 seconds for gossip) ...
java.lang.IllegalStateException: Cannot load any sstable, no live member found in the cluster

I have configured the seed in the sstableloader cassandra.yaml to be a node in the cluster, and opened up the ports between the seed node in the cluster, and the sstableloader instance. 我已将sstableloader cassandra.yaml中的种子配置为集群中的一个节点,并打开了集群中的种子节点与sstableloader实例之间的端口。 I am able to reach the seed node using cassandra-cli from the sstableloader instance, so I think that is all configured properly. 我可以使用sstableloader实例中的cassandra-cli到达种子节点,因此我认为所有配置都正确。

Is there anything else I am missing? 还有什么我想念的吗? Does sstableloader have to be run on one of the cluster nodes itself for gossip to work? 为了使八卦工作,sstableloader是否必须在群集节点之一上运行?

Which ports did you open between the nodes? 您在节点之间打开了哪些端口? Port 7000 (by default) specifically is required for gossip. 闲话特别需要端口7000(默认情况下)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM