cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6885) stress write/read can't use variable column counts w/native cql3 mode
Date Tue, 18 Mar 2014 23:50:42 GMT

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

Benedict commented on CASSANDRA-6885:
-------------------------------------

Actually this should be reasonably easy to implement. I'll look at it soon.

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

Mime
View raw message