anuragp010 opened a new pull request, #11066:
URL: https://github.com/apache/ozone/pull/11066

   ## What changes were proposed in this pull request?
   The command `ozone admin datanode list` includes all the pipelines a given 
node is part of. But, the supported `storageTier` of every pipeline is not 
displayed. This PR adds the supported `storageTier` when printing related 
pipelines.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-16037
   
   ## How was this patch tested?
   
   1. Unit Test
   2. Functional validation:
   ```
   bash-5.1$ ozone admin datanode list
   Datanode: 930e5429-88e2-4575-91f1-09dd5693bcc3 
(/default-rack/172.18.0.9/ozone-datanode-disk-2.ozone_default/2 pipelines)
   Operational State: IN_SERVICE
   Health State: HEALTHY
   Total volume count: 1
   Healthy volume count: 1
   Related pipelines:
   
d9b3eb02-9447-4558-a7e3-6a5b57da95ed/RATIS/THREE/RATIS/ALLOCATED/Follower/[DISK]
   42f4899f-5db9-445d-81a0-2c65ba7ad6a2/RATIS/ONE/RATIS/OPEN/Leader/[DISK]
   
   Datanode: dbab6522-e04b-4951-ad47-c26c0f4bd5c6 
(/default-rack/172.18.0.8/ozone-datanode-disk-1.ozone_default/2 pipelines)
   Operational State: IN_SERVICE
   Health State: HEALTHY
   Total volume count: 1
   Healthy volume count: 1
   Related pipelines:
   
d9b3eb02-9447-4558-a7e3-6a5b57da95ed/RATIS/THREE/RATIS/ALLOCATED/Follower/[DISK]
   c4326157-5f26-44d2-bdf1-4117a7e91c46/RATIS/ONE/RATIS/OPEN/Leader/[DISK]
   
   Datanode: 404f9115-040b-4f91-a1e5-13f681299be7 
(/default-rack/172.18.0.6/ozone-datanode-disk-3.ozone_default/2 pipelines)
   Operational State: IN_SERVICE
   Health State: HEALTHY
   Total volume count: 1
   Healthy volume count: 1
   Related pipelines:
   
d9b3eb02-9447-4558-a7e3-6a5b57da95ed/RATIS/THREE/RATIS/ALLOCATED/Follower/[DISK]
   b9e88083-19ac-4e1b-9390-9672c817d65f/RATIS/ONE/RATIS/OPEN/Leader/[DISK]
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to