[
https://issues.apache.org/jira/browse/HDDS-1653?focusedWorklogId=274641&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-274641
]
ASF GitHub Bot logged work on HDDS-1653:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Jul/19 04:48
Start Date: 10/Jul/19 04:48
Worklog Time Spent: 10m
Work Description: xiaoyuyao 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-509906168
Attach a sample output:
bash-4.2$ ozone scmcli printTopology
State = HEALTHY
10.5.0.7(datanode_4.ozone-topology_net) /rack2
10.5.0.5(datanode_2.ozone-topology_net) /rack1
10.5.0.6(datanode_3.ozone-topology_net) /rack1
10.5.0.4(datanode_1.ozone-topology_net) /rack1
bash-4.2$ ozone scmcli printTopology -o
State = HEALTHY
Location: /rack1
10.5.0.4(datanode_1.ozone-topology_net)
10.5.0.5(datanode_2.ozone-topology_net)
10.5.0.6(datanode_3.ozone-topology_net)
Location: /rack2
10.5.0.7(datanode_4.ozone-topology_net)
----------------------------------------------------------------
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: 274641)
Time Spent: 20m (was: 10m)
> 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: 20m
> 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.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]