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

Fix multi DC nodetool status output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha4, 4.0
    • Tool/nodetool
    • None

    Description

      The DC headers are printed before the entire table output

      Datacenter: eu-west-1
      =====================
      Status=Up/Down
      |/ State=Normal/Leaving/Joining/Moving
      Datacenter: us-east-1
      =====================
      Status=Up/Down
      |/ State=Normal/Leaving/Joining/Moving
      --  Address         Load        Tokens  Owns (effective)  Host ID                               Rack      
      UN  100.67.118.115  76.85 KiB   1       16.7%             e1bb616a-a22d-4452-a2eb-f14faa6c7900  eu-west-1c
      UN  100.67.97.192   110.42 KiB  1       16.7%             fe552b3e-33bf-42c2-9c71-c4e49a034b70  eu-west-1a
      UN  100.67.107.135  76.85 KiB   1       16.7%             a9079fbe-8d7b-4f07-8d5f-b9e70a63d799  eu-west-1b
      UN  100.67.97.213   94.59 KiB   1       16.7%             948e123a-7a92-4b35-974f-c7b380998e37  eu-west-1a
      UN  100.67.118.203  110.42 KiB  1       16.7%             6a7d1845-e966-4aba-9245-ed3f5c0805d6  eu-west-1c
      UN  100.67.107.110  110.42 KiB  1       16.7%             6e23da83-e9c8-4c43-a9d1-fb0d6e775cdc  eu-west-1b
      --  Address         Load        Tokens  Owns (effective)  Host ID                               Rack      
      UN  100.66.217.160  110.42 KiB  1       16.7%             7abef190-f4e7-46e6-9e8d-d4441e6b2e33  us-east-1c
      UN  100.66.220.37   110.42 KiB  1       16.7%             6712d2bf-c912-460f-abeb-278770ad7cb4  us-east-1e
      UN  100.66.220.90   110.43 KiB  1       16.7%             dcb25670-4011-457c-8018-04b22042dde4  us-east-1e
      UN  100.66.216.184  110.42 KiB  1       16.7%             b620b09a-3de8-41c3-a330-6cee808b4a84  us-east-1c
      UN  100.66.219.60   110.42 KiB  1       16.7%             34769195-c582-413f-a663-82f8544d9327  us-east-1d
      UN  100.66.219.93   110.42 KiB  1       16.7%             9ae3372c-1a04-457b-bcce-3562a328565e  us-east-1d
      

      Attachments

        Issue Links

          Activity

            People

              clohfink Chris Lohfink
              cnlwsu Chris Lohfink
              Chris Lohfink
              Brandon Williams, Chris Lohfink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: