[
https://issues.apache.org/jira/browse/HDDS-1653?focusedWorklogId=278945&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-278945
]
ASF GitHub Bot logged work on HDDS-1653:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Jul/19 12:27
Start Date: 18/Jul/19 12:27
Worklog Time Spent: 10m
Work Description: ChenSammi commented on issue #1067: HDDS-1653. Add
option to "ozone scmcli printTopology" to order the ou…
URL: https://github.com/apache/hadoop/pull/1067#issuecomment-512794027
@xiaoyuyao , with uuid as network name, here is output,
ozone scmcli printTopology
State = HEALTHY
10.5.0.5(ozone-topology_datanode_2_1.ozone-topology_net) /rack1
10.5.0.6(ozone-topology_datanode_3_1.ozone-topology_net) /rack1
10.5.0.4(ozone-topology_datanode_1_1.ozone-topology_net) /rack1
ozone scmcli printTopology -o
State = HEALTHY
Location: /rack1
2a2e4f1a-47a8-4c9f-8368-d719aab3057b
2c6478ae-dbba-4349-8759-7c803e2e6617
a803fa42-291c-42b3-8577-719f5746980b
I would suggest add Ipaddress & hostname in "-o" options.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 278945)
Time Spent: 40m (was: 0.5h)
> Add option to "ozone scmcli printTopology" to order the output acccording to
> topology layer
> -------------------------------------------------------------------------------------------
>
> Key: HDDS-1653
> URL: https://issues.apache.org/jira/browse/HDDS-1653
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Sammi Chen
> Assignee: Xiaoyu Yao
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]