Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2878C109D6 for ; Tue, 18 Mar 2014 23:50:47 +0000 (UTC) Received: (qmail 29231 invoked by uid 500); 18 Mar 2014 23:50:44 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 29057 invoked by uid 500); 18 Mar 2014 23:50:43 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 29029 invoked by uid 99); 18 Mar 2014 23:50:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2014 23:50:43 +0000 Date: Tue, 18 Mar 2014 23:50:42 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6885) stress write/read can't use variable column counts w/native cql3 mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(CqlOperation.java:58) > at org.apache.cassandra.stress.operations.CqlInserter.(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)