cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radim Kolar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-2886) cli command update keyspace fails to change replication_factor
Date Tue, 12 Jul 2011 09:02:59 GMT
cli command update keyspace fails to change replication_factor
--------------------------------------------------------------

                 Key: CASSANDRA-2886
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2886
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.8.1
         Environment: Windows or FreeBSD
            Reporter: Radim Kolar
            Priority: Minor
             Fix For: 0.8.2


In wiki http://wiki.apache.org/cassandra/Operations#Replication its documented that increasing
replication on live cluster can be done with following command:

[default@unknown] update keyspace test with replication_factor = 2 ;
No enum const class org.apache.cassandra.cli.CliClient$AddKeyspaceArgument.REPLICATION_FACTOR

this command do not works. Wiki should be updated or cassandra-cli fixed

More info:
[default@unknown] describe keyspace test;
Keyspace: test:
  Replication Strategy: org.apache.cassandra.locator.SimpleStrategy
  Durable Writes: true
    Options: [replication_factor:1]
  Column Families:
    ColumnFamily: sipdb
    "phone calls routing information"
      Key Validation Class: org.apache.cassandra.db.marshal.IntegerType
      Default column value validator: org.apache.cassandra.db.marshal.BytesType
      Columns sorted by: org.apache.cassandra.db.marshal.AsciiType
      Row cache size / save period in seconds: 0.0/0
      Key cache size / save period in seconds: 0.0/0
      Memtable thresholds: 0.0328125/7/1440 (millions of ops/MB/minutes)
      GC grace seconds: 0
      Compaction min/max thresholds: 4/32
      Read repair chance: 0.0
      Replicate on write: false
      Built indexes: []
      Column Metadata:
        Column Name: kam
          Validation Class: org.apache.cassandra.db.marshal.AsciiType
          Index Name: kam_idx
[default@unknown]


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message