Russ Hatch created CASSANDRA-6885:
-------------------------------------

             Summary: stress write/read can't use variable column counts 
w/native cql3 mode
                 Key: CASSANDRA-6885
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6885
             Project: Cassandra
          Issue Type: Bug
            Reporter: Russ Hatch


Not sure if this is a bug or a missing feature, but for accuracy I'm hoping to 
be able to test read/write performance with native cql3 instead of thrift.

Here's what happens when I attempt read/write with native cql3 mode:
{noformat}
rhatch@whatup:~/git/cstar/cassandra$ tools/bin/cassandra-stress write n=1000000 
CL=ONE -key dist=FIXED\(1\) -col n=UNIFORM\(1..100\) -schema 
replication\(factor=3\) -rate threads=50 -mode native cql3
Unable to create stress keyspace: Keyspace names must be case-insensitively 
unique ("Keyspace1" conflicts with "Keyspace1")
Warming up WRITE with 50000 iterations...
INFO  20:39:17 New Cassandra host /127.0.0.3 added
INFO  20:39:17 New Cassandra host /127.0.0.2 added
Connected to cluster: test_stress
Datatacenter: datacenter1; Host: localhost/127.0.0.1; Rack: rack1
Datatacenter: datacenter1; Host: /127.0.0.2; Rack: rack1
Datatacenter: datacenter1; Host: /127.0.0.3; Rack: rack1
java.lang.IllegalStateException: Variable column counts are not implemented for 
CQL
        at 
org.apache.cassandra.stress.operations.CqlOperation.<init>(CqlOperation.java:58)
        at 
org.apache.cassandra.stress.operations.CqlInserter.<init>(CqlInserter.java:35)
        at 
org.apache.cassandra.stress.StressAction.createOperation(StressAction.java:486)
        at 
org.apache.cassandra.stress.StressAction.createOperation(StressAction.java:448)
        at 
org.apache.cassandra.stress.StressAction.access$300(StressAction.java:38)
        at 
org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:292)
java.lang.IllegalStateException: Variable column counts are not implemented for 
CQL
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to