Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-698 Support Topology Awareness for Ozone
  3. HDDS-1653

Add option to "ozone scmcli printTopology" to order the output acccording to topology layer

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      Add option to order the output acccording to topology layer.
      For example, for /rack/node topolgy, we can show,
      State = HEALTHY
      /default-rack:
      ozone_datanode_1.ozone_default/172.18.0.3
      ozone_datanode_2.ozone_default/172.18.0.2
      ozone_datanode_3.ozone_default/172.18.0.4
      /rack1:
      ozone_datanode_4.ozone_default/172.18.0.5
      ozone_datanode_5.ozone_default/172.18.0.6
      For /dc/rack/node topology, we can either show
      State = HEALTHY
      /default-dc/default-rack:
      ozone_datanode_1.ozone_default/172.18.0.3
      ozone_datanode_2.ozone_default/172.18.0.2
      ozone_datanode_3.ozone_default/172.18.0.4
      /dc1/rack1:
      ozone_datanode_4.ozone_default/172.18.0.5
      ozone_datanode_5.ozone_default/172.18.0.6

      or

      State = HEALTHY
      default-dc:
      default-rack:
      ozone_datanode_1.ozone_default/172.18.0.3
      ozone_datanode_2.ozone_default/172.18.0.2
      ozone_datanode_3.ozone_default/172.18.0.4
      dc1:
      rack1:
      ozone_datanode_4.ozone_default/172.18.0.5
      ozone_datanode_5.ozone_default/172.18.0.6

      Attachments

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m