Thursday, September 9, 2010

[Level 2] Repication in Cassandra 0.7 Beta

In Cassandra 0.7, it supports online change schema.
So, when you want to create a keyspace, the steps are as following:
1. Connect to Cassandra
 # ./bin/cassandra-cli 
2. Create keyspace
# create keyspace keyspace_name with replication_factor = n
PS. In here, 'n' is integer, and the number of cassandra node must great or equal than 'n'.

You can set replication factor

Wish this helps.
regards,
Stanley Huang