[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-13 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6631:
-

bq. What problem do you see?

{quote}
Exception in thread "Thread-22" java.lang.NoClassDefFoundError: 
com/codahale/metrics/Metric
at com.datastax.driver.core.Cluster$Manager.(Cluster.java:940)
at com.datastax.driver.core.Cluster$Manager.(Cluster.java:885)
at com.datastax.driver.core.Cluster.(Cluster.java:88)
at com.datastax.driver.core.Cluster.buildFrom(Cluster.java:144)
at com.datastax.driver.core.Cluster$Builder.build(Cluster.java:850)
at 
org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:74)
at 
org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:134)
at 
org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
at 
org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:277)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Metric
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
{quote}

bq. This does mean that the stress should include the C* lib/ jars in the 
classpath

Right, I'll have a look at the script and check what's happening

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSe

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-13 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6631:
-

Ah, I just needed to rebuild the project. Thanks

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverCli

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-13 Thread Sylvain Lebresne (JIRA)

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

Sylvain Lebresne commented on CASSANDRA-6631:
-

bq. Why don;t we need the dependencies file? Do you want users to download it?

No, I meant that all the dependencies the driver jar I put it needs should be 
in C* already. This does mean that the stress should include the C* lib/ jars 
in the classpath, which I assumed it does since I was able to run stress on my 
box with what is in trunk (and Michael seemed to have confirmed it). What 
problem do you see?

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-13 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6631:
-

Why don;t we need the dependencies file? Do you want users to download it?

It breaks the cassandra-stress bin as it stands, anyway, which isn't great IMO

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-12 Thread Michael Shuler (JIRA)

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

Michael Shuler commented on CASSANDRA-6631:
---

+2  ;)
Working fine with a little patience.

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDr

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-12 Thread Michael Shuler (JIRA)

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

Michael Shuler commented on CASSANDRA-6631:
---

I'm running again until completion - my fault.

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(Jav

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-12 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6631:
-

I've improved the error messages with CASSANDRA-6691, but I think that error is 
that the data it expects to be present isn't. Had you fully populated the key 
range?

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-12 Thread Michael Shuler (JIRA)

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

Michael Shuler commented on CASSANDRA-6631:
---

hmm.. write worked, read throws an error:
{noformat}
mshuler@hana:~$ cassandra-stress write
Created keyspaces. Sleeping 1s for propagation.
Warming up WRITE with 5 iterations...
Connected to cluster: Test Cluster
Datatacenter: datacenter1; Host: localhost/127.0.0.1; Rack: rack1
Sleeping 2s...
Running with 4 threadCount
Running WRITE with 4 threads until stderr of mean < 0.02
ops   ,op/s,adj op/s,   key/s,mean, med, .95, .99,
.999, max,   time,   stderr
26745 ,   26744,   26744,   26744, 0.1, 0.1, 0.3, 0.5, 
4.5,20.3,1.0,  0.0
57881 ,   31076,   33453,   31076, 0.1, 0.1, 0.2, 0.3, 
1.0,71.4,2.0,  0.0
91605 ,   33636,   36535,   33636, 0.1, 0.1, 0.2, 0.2, 
0.3,79.7,3.0,  0.07880
124152,   32496,   36416,   32496, 0.1, 0.1, 0.2, 0.2, 
0.9,   108.0,4.0,  0.07319
156085,   31879,   35501,   31879, 0.1, 0.1, 0.2, 0.2, 
1.1,   102.3,5.0,  0.05969
188464,   32319,   35774,   32319, 0.1, 0.1, 0.2, 0.2, 
0.7,96.9,6.0,  0.04857
220734,   32204,   35836,   32204, 0.1, 0.1, 0.2, 0.2, 
0.5,   101.7,7.0,  0.04110
256342,   36149,   36149,   36149, 0.1, 0.1, 0.2, 0.2, 
0.5, 2.4,8.0,  0.03562
292091,   32251,   35674,   32251, 0.1, 0.1, 0.2, 0.2, 
1.1,   106.5,9.1,  0.03157
324068,   31898,   35569,   31898, 0.1, 0.1, 0.2, 0.2, 
1.1,   103.7,   10.1,  0.02817
356260,   32107,   35942,   32107, 0.1, 0.1, 0.2, 0.2, 
1.2,   107.1,   11.1,  0.02541
387422,   31078,   34824,   31078, 0.1, 0.1, 0.2, 0.2, 
2.1,   108.0,   12.1,  0.02321
418991,   31480,   35631,   31480, 0.1, 0.1, 0.2, 0.2, 
1.1,   117.0,   13.1,  0.02128
450483,   31379,   35289,   31379, 0.1, 0.1, 0.2, 0.2, 
0.8,   111.5,   14.1,  0.01967
483436,   32627,   32810,   32627, 0.1, 0.1, 0.2, 0.4, 
1.1, 6.3,   15.1,  0.01827
514382,   30655,   34541,   30655, 0.1, 0.1, 0.2, 0.2, 
1.0,   113.7,   16.1,  0.01757
538549,   24004,   27020,   24004, 0.2, 0.1, 0.3, 0.5, 
6.6,   112.6,   17.1,  0.01649
562287,   23517,   25586,   23517, 0.2, 0.1, 0.3, 0.7, 
2.8,81.8,   18.2,  0.02035
591465,   28864,   30857,   28864, 0.1, 0.1, 0.2, 0.3, 
0.4,65.5,   19.2,  0.02398
617315,   25577,   27332,   25577, 0.2, 0.1, 0.2, 0.3, 
1.6,65.1,   20.2,  0.02327
646406,   28872,   30783,   28872, 0.1, 0.1, 0.2, 0.3, 
1.1,62.7,   21.2,  0.02417
672760,   26076,   27894,   26076, 0.1, 0.1, 0.2, 0.3, 
1.8,66.1,   22.2,  0.02339
698728,   25745,   25745,   25745, 0.2, 0.1, 0.2, 0.3, 
1.2,70.0,   23.2,  0.02362
732390,   33250,   33250,   33250, 0.1, 0.1, 0.2, 0.3, 
1.2,11.4,   24.2,  0.02469
764852,   32198,   35910,   32198, 0.1, 0.1, 0.2, 0.2, 
1.4,   104.4,   25.2,  0.02365
796679,   31590,   35180,   31590, 0.1, 0.1, 0.2, 0.2, 
2.8,   102.9,   26.2,  0.02294
828361,   31457,   35103,   31457, 0.1, 0.1, 0.2, 0.2, 
1.0,   104.8,   27.2,  0.02216
860567,   31942,   35573,   31942, 0.1, 0.1, 0.2, 0.2, 
0.4,   103.1,   28.2,  0.02142
891884,   31051,   34680,   31051, 0.1, 0.1, 0.2, 0.2, 
2.3,   105.8,   29.3,  0.02077
927193,   35447,   35548,   35447, 0.1, 0.1, 0.2, 0.2, 
0.5, 3.1,   30.3,  0.02009
927550,3017,   29011,3017, 1.3, 0.1, 0.2,   106.0,   
106.3,   106.3,   30.4,  0.01952


Results:
real op rate  : 30542
adjusted op rate  : 30649
adjusted op rate stderr   : 0
key rate  : 30542
latency mean  : 0.1
latency median: 0.1
latency 95th percentile   : 0.2
latency 99th percentile   : 0.3
latency 99.9th percentile : 1.2
latency max   : 117.0
Total operation time  : 00:00:30
Sleeping for 15s
^C
mshuler@hana:~$ cassandra-stress read
Warming up READ with 5 iterations...
Connected to cluster: Test Cluster
Datatacenter: datacenter1; Host: localhost/127.0.0.1; Rack: rack1
java.io.IOException: Operation [283] retried 10 times - error executing for key 
0F1E45 

at org.apache.cassandra.stress.Operation.error(Operation.java:189)
at 
org.apache.cassandra.stress.Operation.time

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-12 Thread Michael Shuler (JIRA)

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

Michael Shuler commented on CASSANDRA-6631:
---

+1
Thanks a bunch!

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
>

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-12 Thread Sylvain Lebresne (JIRA)

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

Sylvain Lebresne commented on CASSANDRA-6631:
-

Committed [a 
fix|https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=commit;h=0d0acac6c59d3fa703a3d504f9cfd063e4d111b7]
 for that (with just the driver jar, not the whole jar-with-dependencies as we 
don't really need that). It works on my box but if someone else can confirm 
that, we'll just close this issue. 

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.C

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-02-10 Thread Michael Shuler (JIRA)

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

Michael Shuler commented on CASSANDRA-6631:
---

Tried to drop in current java-driver jars, and c* stress-build fails to build 
with:
{noformat}
stress-build:
[mkdir] Created dir: /home/mshuler/git/cassandra/build/classes/stress
[javac] Compiling 74 source files to 
/home/mshuler/git/cassandra/build/classes/stress
[javac] 
/home/mshuler/git/cassandra/tools/stress/src/org/apache/cassandra/stress/util/JavaDriverClient.java:145:
 error: cannot find symbol
[javac] FBUtilities.waitOnFuture(cluster.shutdown());
[javac] ^
[javac]   symbol:   method shutdown()
[javac]   location: variable cluster of type Cluster
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
{noformat}

Since it took me a bit to figure out how to get both jars we needed from 
java-driver:
{noformat}
git clone https://github.com/datastax/java-driver.git
cd java-driver/driver-core/
mvn package assembly:single
{noformat}

replace the 2.0.0-rc2 jars in $gitdir/cassandra/tools/lib/ with
- target/cassandra-driver-core-2.0.0-rc3-SNAPSHOT.jar
- target/cassandra-driver-core-2.0.0-rc3-SNAPSHOT-jar-with-dependencies.jar

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this met

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-31 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6631:
-

If we can keep the best compatible Java Driver release for a C* release on 
compatible dependencies, that would obviously be best. But I expect that could 
get tricky with the different release schedules. Not sure we want to try too 
hard to keep them in sync, but it's your domain, so I won't question it :-)

It's not absolutely necessary to keep a version per C* release. It could point 
to, say, a minor-version link that is always the latest build for that Java 
Driver version. But I'm not super worried about any of this, tbh, just making a 
suggestion. I think whatever is least maintenance overhead is best.

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnect

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-31 Thread Sylvain Lebresne (JIRA)

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

Sylvain Lebresne commented on CASSANDRA-6631:
-

bq. java-driver 2.0 uses a later jackson lib than C*

That can be arranged. In fact, it's been on todo list for a long time to kill 
that dependency in the driver. The only reason it's there is because we still 
have some silly json encoding in our schema table that the driver reads. This 
is trivial enough that it's worth doing the parsing manually to avoid the 
jackson dependency. I just somehow never found the time to do it. That can be 
easily fixed though.

If we exclude codahale metrics (as Sam mentioned), I don't think the other 
dependencies will be a burden: it's really just netty, guava (and snappy/lza 
but that are optional for the driver),
both of which are probably easy enough to keep on compatible version between 
the driver and C*.

bq. Perhaps we could add a script to download the necessary driver binary from 
the interwebs when it's first run?

I suspect downloading stuffs from the interwebs might annoy some sensibilities. 
It's also annoying if your box doesn't have access to the interwebs (possible 
for security reason or because on the plane). Lastly you need to host one 
jar-with-dependency of the driver for each C* release out there, which is not 
the case (and I'm not volunteering in making that happen). It's possible, but 
not convince it's simpler/better.

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitio

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-31 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6631:
-

Perhaps we could add a script to download the necessary driver binary from the 
interwebs when it's first run?

Not sure unpicking the dependencies is a job worth doing every release.

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.dr

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-31 Thread Sam Tunnicliffe (JIRA)

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

Sam Tunnicliffe commented on CASSANDRA-6631:


The 6Mb I referred to earlier is due to requiring the jar containing all the 
driver dependencies, but it may not be the case that this is all required. 
Certainly if ClusterBuilder.withoutMetrics() is used when constructing stress's 
native client, some of the dependency issues go away. However, there are still 
some remaining - firstly, java-driver 2.0 uses a later jackson lib than C*. 
There may be more once that's resolved but I haven't had chance to dig any 
further yet.

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(Co

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-31 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-6631:


The simple hack to get around it is to simply set replicate_on_write to false 
(or true, depending on your disposition) and skip getting the column from the 
Row. But then you're hacking up a dependent jar, which, again, depends on your 
disposition

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.co

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-31 Thread Sam Tunnicliffe (JIRA)

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

Sam Tunnicliffe commented on CASSANDRA-6631:


On a related note, because the java-driver jars aren't included in the binary 
distro, stress can only be run from a binary install if you supply those 
yourself. Not sure it's worth addressing that as they would add ~6Mb to the 
tarball

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Clust

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-28 Thread Michael Shuler (JIRA)

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

Michael Shuler commented on CASSANDRA-6631:
---

Opened java-driver bug:  https://datastax-oss.atlassian.net/browse/JAVA-254

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util

[jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

2014-01-28 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-6631:


I ran into this, today, as well. Looks like the java driver 2.0-rc expects the 
replicate_on_write field to be present in the table metadata: 
https://github.com/datastax/java-driver/blob/2.0/driver-core/src/main/java/com/datastax/driver/core/TableMetadata.java#L472.

> cassandra-stress failing in trunk
> -
>
> Key: CASSANDRA-6631
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6631
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tools
> Environment: Debian Stable "Wheezy"
> Oracle JDK 1.7.0_51-b13
>Reporter: Michael Shuler
> Fix For: 2.1
>
>
> Stress is failing in trunk.
> - ant clean jar
> - ./bin/cassandra -f
> - ./tools/bin/cassandra-stress write
> {noformat}
> (trunk)mshuler@hana:~/git/cassandra$ ./tools/bin/cassandra-stress write
> Created keyspaces. Sleeping 1s for propagation.
> Warming up WRITE with 5 iterations...
> Exception in thread "Thread-0" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:806)
> at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:217)
> at 
> org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:75)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:135)
> ... 2 more
> Exception in thread "Thread-19" java.lang.RuntimeException: 
> java.lang.IllegalArgumentException: replicate_on_write is not a column 
> defined in this metadata
> at 
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:142)
> at 
> org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:49)
> at 
> org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:273)
> Caused by: java.lang.IllegalArgumentException: replicate_on_write is not a 
> column defined in this metadata
> at 
> com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
> at 
> com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
> at com.datastax.driver.core.Row.getBool(Row.java:117)
> at 
> com.datastax.driver.core.TableMetadata$Options.(TableMetadata.java:474)
> at 
> com.datastax.driver.core.TableMetadata.build(TableMetadata.java:107)
> at 
> com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:128)
> at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:89)
> at 
> com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:259)
> at 
> com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:214)
> at 
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:161)
> at 
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
> at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:890)
> at 
> com.data