Stephen O'Donnell created HDDS-4340:
---------------------------------------
Summary: Add Operational State to the datanode list command
Key: HDDS-4340
URL: https://issues.apache.org/jira/browse/HDDS-4340
Project: Hadoop Distributed Data Store
Issue Type: Sub-task
Components: SCM Client
Affects Versions: 1.1.0
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
The existing CLI command `ozone admin datanode list` provides output like:
{code}
bash-4.2$ ozone admin datanode list
Datanode: f2b2452a-bf7b-4c6d-b2d6-a0d9d219b21a
(/default-rack/172.20.0.8/ozone_datanode_1.ozone_default/2 pipelines)
Related pipelines:
16561bc4-746a-4c79-b6f8-1c275b31e37d/THREE/RATIS/OPEN/Leader
4e45ff9c-478b-4ab8-a66c-7bfa98c8c632/ONE/RATIS/OPEN/Leader
Datanode: 57c7fd5f-e32c-4de9-a04a-89d8d4273431
(/default-rack/172.20.0.6/ozone_datanode_3.ozone_default/2 pipelines)
Related pipelines:
4b24bc61-28cf-471a-893c-a05cac273856/ONE/RATIS/OPEN/Leader
16561bc4-746a-4c79-b6f8-1c275b31e37d/THREE/RATIS/OPEN/Follower
Datanode: 6699fc6d-5c2d-4110-8d88-5ffa5b99f326
(/default-rack/172.20.0.3/ozone_datanode_2.ozone_default/2 pipelines)
Related pipelines:
16561bc4-746a-4c79-b6f8-1c275b31e37d/THREE/RATIS/OPEN/Follower
5ce21cae-9a2d-486d-8b4b-f8ddf75efc61/ONE/RATIS/OPEN/Leader
{code}
We should extend this to show the "Operational State" of the node for
decommission.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]