[ https://issues.apache.org/jira/browse/CASSANDRA-6146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048969#comment-14048969 ]
T Jake Luciani commented on CASSANDRA-6146: ------------------------------------------- - I'm trying to run with one of the yaml files and getting an error: {code} ./bin/cassandra-stress user no_warmup ops\(insert=1\) profile=cqlstress-example.yaml java.lang.ClassCastException: java.lang.String cannot be cast to java.nio.ByteBuffer java.lang.ClassCastException: java.lang.String cannot be cast to java.nio.ByteBuffer java.lang.ClassCastException: java.lang.String cannot be cast to java.nio.ByteBuffer java.lang.ClassCastException: java.lang.String cannot be cast to java.nio.ByteBuffer java.lang.ClassCastException: java.lang.String cannot be cast to java.nio.ByteBuffer java.lang.ClassCastException: java.lang.String cannot be cast to java.nio.ByteBuffer java.io.IOException: Operation [356554, 585335, 690152, 652649, 445768, 888542, 581982, 449609, 638579, 346236, 613934, 354497, 293780, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] x10 key [p|true, 'j|true, $bx%Swf5|true, W9nRcO&\mb|true, +4QsrX:%|true, HrHWwSZ|true, ;$%rvd@Ga|true, i)pu_5x-j|true, ^'.rXXqc&^|true, 6\|true, ciSU#zp|true, C4?j&|true, Y+D7Z/9vF|true] Error executing: (ClassCastException): java.lang.String cannot be cast to java.nio.ByteBuffer at org.apache.cassandra.stress.Operation.error(Operation.java:153) at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:124) at org.apache.cassandra.stress.operations.userdefined.SchemaInsert.run(SchemaInsert.java:99) at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:323) FAILURE {code} - I think we should change the term identity to population as it seems clearer to me for the columnspec. and in the code identityDistribution to populationDistribution - I'm not sure how I feel about putting the batchsize and batchtype into the yaml. Those feel like command line args to me. - It sounds like writing to an entire partition at once is a step backwards from the original patch, since you can't test writing incrementally to a wide row. all clustering columns are written at once (unless I'm misunderstanding). Previously the population distribution of a column was not within a partition so you could make it very large. > CQL-native stress > ----------------- > > Key: CASSANDRA-6146 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6146 > Project: Cassandra > Issue Type: New Feature > Components: Tools > Reporter: Jonathan Ellis > Assignee: T Jake Luciani > Fix For: 2.1.1 > > Attachments: 6146-v2.txt, 6146.txt, 6164-v3.txt > > > The existing CQL "support" in stress is not worth discussing. We need to > start over, and we might as well kill two birds with one stone and move to > the native protocol while we're at it. -- This message was sent by Atlassian JIRA (v6.2#6252)