cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timur Tulyaganov (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3267) Failed to change replication factor on 3 node cluster
Date Thu, 29 Sep 2011 10:01:45 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117193#comment-13117193
] 

Timur Tulyaganov commented on CASSANDRA-3267:
---------------------------------------------

cli with debug:

[default@API] update keyspace API with strategy_options=[{replication_factor:2}];
null
java.lang.RuntimeException
	at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:310)
	at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
	at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
Caused by: java.lang.RuntimeException
	at org.apache.cassandra.cli.CliClient.executeUpdateKeySpace(CliClient.java:1072)
	at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:229)
	... 2 more
Caused by: SchemaDisagreementException()
	at org.apache.cassandra.thrift.Cassandra$system_update_keyspace_result.read(Cassandra.java:29185)
	at org.apache.cassandra.thrift.Cassandra$Client.recv_system_update_keyspace(Cassandra.java:1623)
	at org.apache.cassandra.thrift.Cassandra$Client.system_update_keyspace(Cassandra.java:1598)
	at org.apache.cassandra.cli.CliClient.executeUpdateKeySpace(CliClient.java:1061)
	... 3 more
                
> Failed to change replication factor on 3 node cluster
> -----------------------------------------------------
>
>                 Key: CASSANDRA-3267
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3267
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.5
>         Environment: Linux, openjdk16, cassandra 0.8.5
>            Reporter: Timur Tulyaganov
>
> 3-node cluster config all up and running failed to change replication factor
> /usr/local/cassandra/bin/nodetool -h 10.0.1.3 ring Address Status State Load Owns Token
> Address         DC          Rack        Status State   Load            Owns    Token
                                      
>                                                                                57715317233367107622067286720208938865
     
> 10.0.1.1  datacenter1 rack1       Up     Normal  1.49 GB         78.15%  20543402371996174596346065790779111550
     
> 10.0.1.2  datacenter1 rack1       Up     Normal  1011.54 MB      7.59%   33454860067234500516210522518260948578
     
> 10.0.1.3  datacenter1 rack1       Up     Normal  232.25 MB       14.26%  57715317233367107622067286720208938865

> [default@API] describe keyspace API;
> Keyspace: API:
>   Replication Strategy: org.apache.cassandra.locator.SimpleStrategy
>   Durable Writes: true
>     Options: [replication_factor:1]
>   Column Families:
>     ColumnFamily: AdCampaign
>       Key Validation Class: org.apache.cassandra.db.marshal.BytesType
>       Default column value validator: org.apache.cassandra.db.marshal.BytesType
> [default@API] update keyspace API with strategy_options=[{replication_factor:2}];
> null

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message