Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-6631

cassandra-stress failing in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 beta1
    • Legacy/Tools
    • None
    • Debian Stable "Wheezy"
      Oracle JDK 1.7.0_51-b13

    • Normal

    Description

      Stress is failing in trunk.

      • ant clean jar
      • ./bin/cassandra -f
      • ./tools/bin/cassandra-stress write
        (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..>
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            mshuler Michael Shuler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: