cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson Chung (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-3220) add describe_ring to cli
Date Fri, 16 Sep 2011 18:25:09 GMT
add describe_ring to cli

                 Key: CASSANDRA-3220
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jackson Chung
            Priority: Minor

Lately I have found the describe_ring feature was needed to debug/analyze issue, but the cli
does not have this available.

So just in case it is useful, please see the attached patch.

here is the sample output:
[default@unknown] help;
decr                    Decrements a counter column.
describe ring           Describe the token range information.
describe cluster        Describe the cluster configuration.

[default@unknown] help describe ring;
describe ring <keyspace>;

Describes the token range settings for the named keyspace.

Required Parameters:
- keyspace: Name of the keyspace to describe the token range.

describe ring <keyspace>; - Describes the token range settings for the named keyspace.

[default@unknown] describe ring Keyspace3;
        TokenRange(start_token:9739248273232290250409572410247679660, end_token:9739248273232290250409572410247679660,
endpoints:[], rpc_endpoints:[], endpoint_details:[EndpointDetails(host:,
port:9160, datacenter:168)])
[default@unknown] describe ring fooks;
Keyspace with name 'fooks' wasn't found, , please, authorize to one of the keyspaces first.
[default@unknown] describe ring;
Syntax error at position 13: mismatched input ';' expecting set null


This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message