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 MakiWatanabe
Date Tue, 10 May 2011 23:25:52 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 MakiWatanabe.
The comment on this change is: Update cli command syntax at Replication section.
http://wiki.apache.org/cassandra/Operations?action=diff&rev1=88&rev2=89

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

  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;
+     update keyspace Keyspace1 with 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