You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/07/12 13:33:59 UTC

[jira] [Resolved] (CASSANDRA-2886) cli command update keyspace fails to change replication_factor

     [ https://issues.apache.org/jira/browse/CASSANDRA-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-2886.
---------------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 0.8.2)

replication_factor is part of strategy_options in 0.8

> 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
>
> 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