You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ryan McGuire (JIRA)" <ji...@apache.org> on 2013/10/16 04:15:43 UTC
[jira] [Commented] (CASSANDRA-4191) Add `nodetool cfstats
` abilities
[ https://issues.apache.org/jira/browse/CASSANDRA-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796336#comment-13796336 ]
Ryan McGuire commented on CASSANDRA-4191:
-----------------------------------------
I just saw this today while testing on EC2 (strangely, I cannot reproduce this locally with ccm):
{code}
$ nodetool status
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:1123)
{code}
If I specify the keyspace it works fine:
{code}
$ nodetool status system
Datacenter: DC1
===============
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 10.190.93.91 96.17 KB 256 0.0% 635b457f-5bad-4283-9800-a8fb11eed4b0 rack1
UN 10.190.159.235 65.35 KB 256 100.0% 704d062e-5c42-4886-9f8f-c91da7bb783c rack1
UN 10.6.59.6 81.63 KB 256 0.0% c47d3dac-3b0c-4474-9480-1eaf3edaaa65 rack1
{code}
I believe it's due to changes made in this ticket.
> Add `nodetool cfstats <ks> <cf>` abilities
> ------------------------------------------
>
> Key: CASSANDRA-4191
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4191
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 1.2.0 beta 1
> Reporter: Joaquin Casares
> Assignee: Lyuben Todorov
> Priority: Minor
> Labels: datastax_qa
> Fix For: 1.2.12, 2.0.2
>
> Attachments: 4191.patch, 4191_specific_cfstats.diff, 4191_v3.patch, 4191_v4_cassandra-1.2.patch
>
>
> This way cfstats will only print information per keyspace/column family combinations.
> Another related proposal as an alternative to this ticket:
> Allow for `nodetool cfstats` to use --excludes or --includes to accept keyspace and column family arguments.
--
This message was sent by Atlassian JIRA
(v6.1#6144)