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

   ## What changes were proposed in this pull request?
   
   We can use `ozone admin datanode usageinfo` to display the usage information 
of a datanode. However, this information does not include Pipeline details, 
which are also crucial for the datanode. It would be useful to include Pipeline 
information in this display.
   
   The information is displayed as follows:
   
   ```
   UUID : dd1e5cf2-dtf5-6b35-ade5-ac8589d9eaf5
   IP Address : 192.168.0.1
   Hostname : localhost-192.168.0.1
   Capacity : 100 B (100 B)
   Total Used : 20 B (20 B)
   Total Used % : 20.00%
   Ozone Used : 10 B (10 B)
   Ozone Used % : 10.00%
   Remaining : 80 B (80 B)
   Remaining % : 80.00%
   Pipeline(s) : 10
   Container(s) : 5
   Container Pre-allocated : 0 B (0 B)
   Remaining Allocatable : 80 B (80 B)
   Free Space To Spare : 0 B (0 B)
   ```
   
   
   
   ## What is the link to the Apache JIRA
   
   JIRA: HDDS-11357. Datanode Usageinfo Support Display Pipeline.
   
   ## How was this patch tested?
   
   Junit Test & Execute the command manually.
   


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