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

Steve Corona commented on CASSANDRA-2960:
-----------------------------------------

Yes, running with 3 nodes. Same exact thing happens if I set replication_factor 
to 2 nodes. replication_factor=1 works as expected, however.

Here is the exception:

[default@SimpleTest2] get CFTest['1'];
null
java.lang.RuntimeException
        at 
org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:302)
        at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
        at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
Caused by: UnavailableException()
        at 
org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7652)
        at 
org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:570)
        at 
org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:542)
        at org.apache.cassandra.cli.CliClient.doSlice(CliClient.java:468)
        at org.apache.cassandra.cli.CliClient.executeGet(CliClient.java:603)
        at 
org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:200)
        ... 2 more

> replication_factor > 1 always causes cassandra to return null
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-2960
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2960
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.2
>         Environment: Ubuntu 11.04
>            Reporter: Steve Corona
>
> On a brand new cluster:
>       
> [default@SimpleTest] create keyspace SimpleTest2 with strategy_options = 
> [{replication_factor:3}];              
> 16babc60-b886-11e0-0000-c9ff69cb2dfb
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@SimpleTest] use SimpleTest2;
> Authenticated to keyspace: SimpleTest2
> [default@SimpleTest2] create column family CFTest with comparator=UTF8Type 
> and default_validation_class=UTF8Type;
> 1f108660-b886-11e0-0000-c9ff69cb2dfb
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@SimpleTest2] set CFTest['1']['text'] = 'test';
> null
> [default@SimpleTest2] get CFTest['1'];
> null
> [default@SimpleTest2] list CFTest;
> Using default limit of 100
> null
> [default@SimpleTest2] describe cluster;
> Cluster Information:
>    Snitch: org.apache.cassandra.locator.SimpleSnitch
>    Partitioner: org.apache.cassandra.dht.RandomPartitioner
>    Schema versions: 
>       1f108660-b886-11e0-0000-c9ff69cb2dfb: [10.60.98.20, 10.60.98.24, 
> 10.60.98.26]

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

        

Reply via email to