Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 1.0.6
    • Component/s: Tools
    • Labels:
      None

      Description

      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.
      
      Examples:
      describe ring <keyspace>; - Describes the token range settings for the named keyspace.
      
      [default@unknown] describe ring Keyspace3;
      TokenRange: 
              TokenRange(start_token:9739248273232290250409572410247679660, end_token:9739248273232290250409572410247679660, endpoints:[192.168.0.125], rpc_endpoints:[192.168.0.125], endpoint_details:[EndpointDetails(host:192.168.0.125, 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
      
      
      1. patch3220.v5.diff
        12 kB
        Jackson Chung
      2. patch3220.v4.diff
        11 kB
        Jackson Chung
      3. patch3220.v3.diff
        10 kB
        Jackson Chung
      4. patch3220.v2.diff
        6 kB
        Jackson Chung
      5. patch3220.diff
        5 kB
        Jackson Chung

        Activity

          People

          • Assignee:
            Jackson Chung
            Reporter:
            Jackson Chung
            Reviewer:
            Pavel Yaskevich
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development