cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk
Date Fri, 31 Jan 2014 14:24:13 GMT

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

Mime
View raw message