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

Change description of nodetool ring command

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment