cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk
Date Wed, 12 Feb 2014 17:44:29 GMT

    [ 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 50000 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.00000
57881     ,   31076,   33453,   31076,     0.1,     0.1,     0.2,     0.3,     1.0,    71.4,
   2.0,  0.00000
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 50000 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 00000F1E45


        at org.apache.cassandra.stress.Operation.error(Operation.java:189)
        at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:170)
        at org.apache.cassandra.stress.operations.ThriftReader.run(ThriftReader.java:53)
        at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:300)
Sleeping 2s...
Running with 4 threadCount
Running READ 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
java.io.IOException: Operation [102] retried 10 times - error executing for key 00000EDF9C


        at org.apache.cassandra.stress.Operation.error(Operation.java:189)
        at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:170)
        at org.apache.cassandra.stress.operations.ThriftReader.run(ThriftReader.java:53)
        at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:300)
36        ,    2099,    2099,    2099,     1.8,     1.3,     3.4,    10.9,    10.9,    10.9,
   0.0,  0.00000
FAILURE
mshuler@hana:~$
{noformat}

> 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