cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8514) ArrayIndexOutOfBoundsException in nodetool cfhistograms
Date Thu, 18 Dec 2014 21:06:13 GMT
Philip Thompson created CASSANDRA-8514:
------------------------------------------

             Summary: ArrayIndexOutOfBoundsException in nodetool cfhistograms
                 Key: CASSANDRA-8514
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8514
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
         Environment: OSX
            Reporter: Philip Thompson
             Fix For: 2.1.3


When running nodetool cfhistograms on 2.1-HEAD, I am seeing the following exception:
{code}
04:02 PM:~/cstar/cassandra[cassandra-2.1*]$ bin/nodetool cfhistograms keyspace1 standard1
objc[58738]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
error: 0
-- StackTrace --
java.lang.ArrayIndexOutOfBoundsException: 0
	at org.apache.cassandra.utils.EstimatedHistogram.newOffsets(EstimatedHistogram.java:75)
	at org.apache.cassandra.utils.EstimatedHistogram.<init>(EstimatedHistogram.java:60)
	at org.apache.cassandra.tools.NodeTool$CfHistograms.execute(NodeTool.java:946)
	at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:250)
	at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:164){code}

I can reproduce this with these simple steps:
Start a new C* 2.1-HEAD node
Run {{cassandra-stress write n=10000}}
Run {{nodetool cfhistograms keyspace1 standard1}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message