cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McGuire (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-4191) Add `nodetool cfstats <ks> <cf>` abilities
Date Wed, 16 Oct 2013 02:23:42 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796336#comment-13796336
] 

Ryan McGuire edited comment on CASSANDRA-4191 at 10/16/13 2:22 AM:
-------------------------------------------------------------------

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.
This is on commit a1e594bfb8833e2d73401c456fa5cb31b7ecdea5 from cassandra-2.0


was (Author: enigmacurry):
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)

Mime
View raw message