You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cathy Daw (Commented) (JIRA)" <ji...@apache.org> on 2011/10/04 03:06:33 UTC

[jira] [Commented] (CASSANDRA-3301) Java Stress Tool: COUNTER_GET reads from CounterSuper1 instead of SuperCounter1

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

Cathy Daw commented on CASSANDRA-3301:
--------------------------------------

Workaround is to edit: tools/stress/src/org/apache/cassandra/stress/operations/CounterGetter.java:
ColumnParent parent = new ColumnParent("CounterSuper1").setSuper_column(superColumn.getBytes());

                
> Java Stress Tool:  COUNTER_GET reads from CounterSuper1 instead of SuperCounter1
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3301
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3301
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.6
>            Reporter: Cathy Daw
>
> Output from stress tool - COUNTER_ADD works fine bug COUNTER_GET does not
> {code}
> ./stress --operation=COUNTER_ADD --family-type=Super --num-keys=1 --consistency-level=TWO --replication-factor=3 --nodes=cathy1
> Unable to create stress keyspace: Keyspace already exists.
> total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
> 1,0,0,0.0060,0
> END
> ./stress --operation=COUNTER_GET --family-type=Super --num-keys=1 --consistency-level=QUORUM --nodes=cathy1
> total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
> Operation [0] retried 10 times - error reading counter key 0 ((InvalidRequestException): unconfigured columnfamily CounterSuper1)
> 0,0,0,NaN,0
> END
> {code}
> The CF created is called *SuperCounter1* and not *CounterSuper1*
> {code}
>  INFO 00:34:21,344 ColumnFamilyStore(table='Keyspace1', columnFamily='SuperCounter1') liveRatio is 9.167798032786886 (just-counted was 9.167798032786886).  calculation took 1281ms for 9883 columns
> {code}

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