Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4677

Change description of nodetool ring command

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.6
    • Tool/nodetool

    Description

      Additional option of 'nodetool ring' command is not documented.

      Old variant:

        ring                   - Print information about the token ring
      

      New variant

        ring [keyspace]        - Print information about the token ring for a given keyspace (for all keyspaces if it is not specified)
      

      Patch has been attached.

      Some history (I think it will be useful for someone who will have the same problem):
      I have 4-nodes cluster. One of nodes is located in other DC (DC2). I've met the problem that 'nodetool ring' shows that node in DC2 'Owns 0.00%'. I've found following questions:
      http://www.datastax.com/support-forums/topic/owns-in-nodetool
      http://mail-archives.apache.org/mod_mbox/cassandra-user/201202.mbox/%3C323DBC99-8519-4E86-B69B-6520D53FA5CF@humbaba.net%3E
      and task with fix:
      https://issues.apache.org/jira/browse/CASSANDRA-3412

      So you should use 'nodetool ring keyspace' for getting right information.

      Attachments

        1. cassandra-1.1-4677.txt
          1 kB
          Aleksei Zotov

        Activity

          People

            azotcsit Aleksei Zotov
            azotcsit Aleksei Zotov
            Aleksei Zotov
            Jonathan Ellis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: