cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "Operations" by AlexisLeQuoc
Date Thu, 28 Apr 2011 16:55:18 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "Operations" page has been changed by AlexisLeQuoc.
The comment on this change is: Added instructions to change the replication factor on a live
cluster.
http://wiki.apache.org/cassandra/Operations?action=diff&rev1=85&rev2=86

--------------------------------------------------

  The same options apply to changing replication strategy.
  
  Reducing replication factor is easily done and only requires running cleanup afterwards
to remove extra replicas.
+ 
+ To update the replication factor on a live cluster, forget about cassandra.yaml. Rather
you want to use '''cassandra-cli''':
+     update keyspace Keyspace1 set replication_factor = 3;
  
  === Network topology ===
  Besides datacenters, you can also tell Cassandra which nodes are in the same rack within
a datacenter.  Cassandra will use this to route both reads and data movement for Range changes
to the nearest replicas.  This is configured by a user-pluggable !EndpointSnitch class in
the configuration file.

Mime
View raw message