Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8D132200C3A for ; Fri, 31 Mar 2017 20:18:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8B978160B80; Fri, 31 Mar 2017 18:18:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8009A160B7C for ; Fri, 31 Mar 2017 20:17:59 +0200 (CEST) Received: (qmail 93412 invoked by uid 500); 31 Mar 2017 18:17:58 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 93401 invoked by uid 99); 31 Mar 2017 18:17:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2017 18:17:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 90069C0750 for ; Fri, 31 Mar 2017 18:17:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.23 X-Spam-Level: ** X-Spam-Status: No, score=2.23 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudian-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qrDTaYd22zcr for ; Fri, 31 Mar 2017 18:17:56 +0000 (UTC) Received: from mail-pg0-f54.google.com (mail-pg0-f54.google.com [74.125.83.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2CE705FC6F for ; Fri, 31 Mar 2017 18:17:56 +0000 (UTC) Received: by mail-pg0-f54.google.com with SMTP id 21so78341591pgg.1 for ; Fri, 31 Mar 2017 11:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudian-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version:thread-index :content-language; bh=Cg5Z4hxO7gyM7MhlLMD683x3F17uoPmhH3q6r2weIhI=; b=SZ1tvylCvX18RUWX3bauA0PInoKqSJFZ4hvdKSxkisFiPSlKQ1wikN37WdVCohwtUx gaUKTrbvkxm7MwejjfzPM3iFFg7XuhceuBFC3cwNmf63Rv1J4YM1+3+sQSVWNADHfuIp J42j7CLKLOH893htXcnlKMd/0nrzb4zcX1DH5M5Tit54O0ge5Exs5OjjKtgYqko3SoZv x1X+z1jqgv88XEip1nm5FQwsOoA61VSX2N1nF7DzCCbDKtCRGIOc9EgP5jh2mqt4YMiS xHkOCx8Taj7UFVz+L5U/2vvZxFtd+vOhp7hpF0adA1sRZS1Z/SQAQeVROdN/pmgmFapz hmSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :thread-index:content-language; bh=Cg5Z4hxO7gyM7MhlLMD683x3F17uoPmhH3q6r2weIhI=; b=h2MzCrolYVSv464ivubKbD/1DcpeYkgIOVSgApmvIqMJgpsAHttEQqgHC56W/M4UMe WWPeE22Ss7Y+TTYdcRnYTwXP8i86ntP3m6lgCljasQ125VVZP1MTd6Djo7CjqYq+Clwf IxjWzAKTTtLUFkh9NY2SEW74wB8f9Nz7lwE2+i4Iv/qsLJuZ1AuudxxsoH9wdtLqEcL0 Hwo+YlfRyc5kXQ4gNWyBbYA1XwynzVgDreNwbA3hFwykf7o2p6df4TpTzC5eYI9mN66t Z6FHsQm5Z+jLihtlMVa0x6w3asHBjJZ7wxD3NfCT2dfbDur+YHqQ/0Z4uez3TM/1Ad7w 4wsA== X-Gm-Message-State: AFeK/H1qGS08HnXhFgkJetdGHQnlaid6kgyQT4W4aQwRRzEDfk9JiLGPMqDAU+yRSoOnyQ== X-Received: by 10.99.120.74 with SMTP id t71mr4423756pgc.184.1490984274870; Fri, 31 Mar 2017 11:17:54 -0700 (PDT) Received: from ssekharPC (50-255-35-145-static.hfc.comcastbusiness.net. [50.255.35.145]) by smtp.gmail.com with ESMTPSA id 129sm11851748pgj.59.2017.03.31.11.17.53 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 Mar 2017 11:17:53 -0700 (PDT) From: "Shreyas Chandra Sekhar" To: Subject: stress-tool with mixed character case in Keyspace and column family Date: Fri, 31 Mar 2017 11:17:53 -0700 Message-ID: <02c801d2aa4b$1de51ff0$59af5fd0$@cloudian.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02C9_01D2AA10.71895530" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdKqSiQj0S4XJ4xaR6uyHyScRUcErg== Content-Language: en-us archived-at: Fri, 31 Mar 2017 18:18:00 -0000 This is a multipart message in MIME format. ------=_NextPart_000_02C9_01D2AA10.71895530 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit My Keyspace has both upper and lower cases and trying to run Cassandra-stress tool using yaml file. I tried using parsing them with different string literals. but running into errors 1) yaml file keyspace: "\"UserData_1d0a5f1b5ae297d2958520f5983ba84d\"" error message: Sleeping 2s... Warming up simple1 with 50000 iterations... Exception in thread "main" java.lang.RuntimeException: Keyspace '"UserData_1d0a5f1b5ae297d2958520f5983ba84d"' does not exist at org.apache.cassandra.stress.settings.StressSettings.getRawThriftClient(Stres sSettings.java:140) 2) yaml file keypspace: \"UserData_1d0a5f1b5ae297d2958520f5983ba84d\" Exception in thread "main" com.datastax.driver.core.exceptions.SyntaxError: line 1:4 no viable alternative at character '\' 3) yaml file keypspace: UserData_1d0a5f1b5ae297d2958520f5983ba84d Exception in thread "main" com.datastax.driver.core.exceptions.InvalidQueryException: Keyspace 'userdata_1d0a5f1b5ae297d2958520f5983ba84d' does not exist Any other suggestions? Thanks, Shreyas ------=_NextPart_000_02C9_01D2AA10.71895530 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

My Keyspace has both upper and lower cases and trying = to run Cassandra-stress tool using yaml file.

 

I tried = using  parsing them with different string literals. but running = into errors

 

1)      = yaml file keyspace: = "\"UserData_1d0a5f1b5ae297d2958520f5983ba84d\""

 

 

error message: Sleeping 2s... Warming up simple1 with 50000 = iterations... Exception in thread "main" = java.lang.RuntimeException: Keyspace = '"UserData_1d0a5f1b5ae297d2958520f5983ba84d"' does not = exist         at = org.apache.cassandra.stress.settings.StressSettings.getRawThriftClient(St= ressSettings.java:140)

 

2)  yaml file keypspace: = \"UserData_1d0a5f1b5ae297d2958520f5983ba84d\"=

Exception in thread "main" = com.datastax.driver.core.exceptions.SyntaxError: line 1:4 no viable = alternative at character '\'

3)  yaml file keypspace: = UserData_1d0a5f1b5ae297d2958520f5983ba84d

Exception in thread "main" = com.datastax.driver.core.exceptions.InvalidQueryException: Keyspace = 'userdata_1d0a5f1b5ae297d2958520f5983ba84d' does not = exist

 

 

Any other = suggestions?

 

Thanks,

Shreyas

------=_NextPart_000_02C9_01D2AA10.71895530--