[ 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 50000 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.<init>(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.<init>(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-18" 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 > <snip..> > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)