Soudipta Das
Soudipta Das

Reputation: 11

Using sstableloader to load migrate cassandra cluster

I am trying to migrate a cassandra cluster from a dedicated DC to EC2. I took a snapshot of the sstables as a start. To load the data, I tried sstableloader in the process, but I am not able to figure a way to to specify the hosts from my cassandra node (I am trying to run sstable loader from my cassandra node). Any guidance would be really helpful. I am using cassandra 1.0.1.

Upvotes: 0

Views: 902

Answers (1)

yukim
yukim

Reputation: 641

sstableloader in cassandra 1.0.1 uses gossip protocol to get schema and ring info needed to bulk load. This means that the tool have to listen on the same port as cassandra itself, thus it cannot be used in the same node with cassandra(this is not the case for cassandra > 1.1).

You need to bulk load from other host, or follow the direction in here(http://www.datastax.com/docs/1.0/operations/backup_restore) to load snapshot straight to new node. Also, you can bulk load files in the node using existing cassandra node through JMX "bulkLoad" operation found under StorageService MBean.

Upvotes: 1

Related Questions