You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "dan jatnieks (JIRA)" <ji...@apache.org> on 2014/02/27 04:45:19 UTC
[jira] [Created] (CASSANDRA-6777) stress write using thrift results
in ArithmeticException / by zero errors
dan jatnieks created CASSANDRA-6777:
---------------------------------------
Summary: stress write using thrift results in ArithmeticException / by zero errors
Key: CASSANDRA-6777
URL: https://issues.apache.org/jira/browse/CASSANDRA-6777
Project: Cassandra
Issue Type: Bug
Components: Tools
Environment: Mac OSX, java 1.7.0_51
Reporter: dan jatnieks
Priority: Minor
Attachments: logs.tar.gz
Running stress write (thrift) on 2.1 branch is resulting in the following.
Note: this is after working around [JAVA-276|https://datastax-oss.atlassian.net/browse/JAVA-276] causing stress to fail to connect to 2.1.
{noformat}
$ ./tools/bin/cassandra-stress write n=5000000
Unable to create stress keyspace: Keyspace names must be case-insensitively unique ("Keyspace1" conflicts with "Keyspace1")
Warming up WRITE with 50000 iterations...
Connected to cluster: Test Cluster
Datatacenter: datacenter1; Host: localhost/127.0.0.1; Rack: rack1
java.lang.ArithmeticException: / by zero
java.lang.ArithmeticException: / by zero
java.lang.ArithmeticException: / by zero
java.lang.ArithmeticException: / by zero
...
java.lang.Arithmjava.io.IOException: Operation [220] x10 key 00000000DD Error executing: (ArithmeticException): / by zero
eticException: / by zero
java.lang.ArithmeticException: / by zero
at org.apache.cassandra.stress.Operation.error(Operation.java:237)
java.lang.ArithmeticException: / by zero at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:216)
at org.apache.cassandra.stress.operations.ThriftInserter.run(ThriftInserter.java:72)
at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:302)java.lang.ArithmeticException: / by zero
java.lang.ArithmeticException: / by zero
java.io.IOException: Operation [200] x10 key 00000000C9 Error executing: (ArithmeticException): / by zero
at org.apache.cassandra.stress.Operation.error(Operation.java:237)
java.lang.ArithmeticException: / by zero at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:216)
java.lang.ArithmeticException: / by zero at org.apache.cassandra.stress.operations.ThriftInserter.run(ThriftInserter.java:72)
at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:302)
...
{noformat}
Seems to be just a thrift issue, as running stress write using the native protocol works:
{noformat}
$ ./tools/bin/cassandra-stress write n=5000000 -mode native cql3
Unable to create stress keyspace: Keyspace names must be case-insensitively unique ("Keyspace1" conflicts with "Keyspace1")
Warming up WRITE with 50000 iterations...
Connected to cluster: Test Cluster
Datatacenter: datacenter1; Host: localhost/127.0.0.1; Rack: rack1
Sleeping 2s...
Running WRITE with 50 threads for 5000000 iterations
ops , op/s,adj op/s, key/s, mean, med, .95, .99, .999, max, time, stderr
29342 , 29340, 30903, 29340, 1.7, 1.4, 3.1, 5.7, 51.5, 54.4, 1.0, 0.00000
56353 , 26968, 28523, 26968, 1.8, 1.5, 3.6, 7.0, 56.5, 57.2, 2.0, 0.00000
...
5000000 , 29358, 29358, 29358, 1.7, 1.3, 3.6, 8.4, 10.1, 11.6, 168.8, 0.00828
Results:
real op rate : 29620
adjusted op rate : 29629
adjusted op rate stderr : 0
key rate : 29620
latency mean : 1.7
latency median : 1.4
latency 95th percentile : 3.0
latency 99th percentile : 5.4
latency 99.9th percentile : 56.5
latency max : 305.7
Total operation time : 00:02:48
END
{noformat}
Attaching stress write and system logs as well.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)