You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Shreyas Chandra Sekhar <ss...@cloudian.com> on 2017/03/31 18:17:53 UTC

stress-tool with mixed character case in Keyspace and column family

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