[ 
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 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)

Reply via email to