Gargi-jais11 commented on PR #9310: URL: https://github.com/apache/ozone/pull/9310#issuecomment-3555771662
**New Failure Case Output of CLI without json enabled:** ``` bash-5.1$ ozone admin datanode diskbalancer status ozone-datanode-2 ozone-datanode-3 ozone-datanode-5 Error on node [ozone-datanode-3]: Invalid host name: local host is: "cc2acd5aa05c/172.18.0.2"; destination host is: "ozone-datanode-3":19864; java.net.UnknownHostException: Invalid host name: local host is: "cc2acd5aa05c/172.18.0.2"; destination host is: "ozone-datanode-3":19864; java.net.UnknownHostException; For more details see: http://wiki.apache.org/hadoop/UnknownHost; For more details see: http://wiki.apache.org/hadoop/UnknownHost Failed to get DiskBalancer status from nodes: [ozone-datanode-3] Status result: Datanode Status Threshold(%) BandwidthInMB Threads SuccessMove FailureMove BytesMoved(MB) EstBytesToMove(MB) EstTimeLeft(min) ozone-datanode-2.ozone_default STOPPED 0.0001 300 5 0 0 0 0 0 ozone-datanode-5.ozone_default STOPPED 0.0001 300 5 0 0 0 0 0 Note: Estimated time left is calculated based on the estimated bytes to move and the configured disk bandwidth. bash-5.1$ ozone admin datanode diskbalancer start -s false ozone-datanode-2 ozone-datanode-3 ozone-datanode-5 Error on node [ozone-datanode-3]: Invalid host name: local host is: "cc2acd5aa05c/172.18.0.2"; destination host is: "ozone-datanode-3":19864; java.net.UnknownHostException: Invalid host name: local host is: "cc2acd5aa05c/172.18.0.2"; destination host is: "ozone-datanode-3":19864; java.net.UnknownHostException; For more details see: http://wiki.apache.org/hadoop/UnknownHost; For more details see: http://wiki.apache.org/hadoop/UnknownHost Started DiskBalancer on nodes: [ozone-datanode-2, ozone-datanode-5] Failed to start DiskBalancer on nodes: [ozone-datanode-3] ``` **New Failure Case Output of CLI with json enabled:** ``` bash-5.1$ ozone admin datanode diskbalancer start -s false ozone-datanode-2 ozone-datanode-3 ozone-datanode-5 --json [ { "datanode" : "ozone-datanode-2", "action" : "start", "status" : "success", "configuration" : { "stopAfterDiskEven" : false } }, { "datanode" : "ozone-datanode-3", "action" : "start", "status" : "failure", "errorMsg" : "Invalid host name: local host is: \"cc2acd5aa05c/172.18.0.2\"; destination host is: \"ozone-datanode-3\":19864; java.net.UnknownHostException: Invalid host name: local host is: \"cc2acd5aa05c/172.18.0.2\"; destination host is: \"ozone-datanode-3\":19864; java.net.UnknownHostException; For more details see: http://wiki.apache.org/hadoop/UnknownHost; For more details see: http://wiki.apache.org/hadoop/UnknownHost", "configuration" : { "stopAfterDiskEven" : false } }, { "datanode" : "ozone-datanode-5", "action" : "start", "status" : "success", "configuration" : { "stopAfterDiskEven" : false } } ] bash-5.1$ ozone admin datanode diskbalancer status ozone-datanode-2 ozone-datanode-3 ozone-datanode-5 --json [ { "datanode" : "ozone-datanode-2.ozone_default", "status" : "RUNNING", "threshold" : 1.0E-4, "bandwidthInMB" : 300, "threads" : 5, "successMove" : 0, "failureMove" : 0, "bytesMovedMB" : 0, "estBytesToMoveMB" : 0, "estTimeLeftMin" : 0 }, { "datanode" : "ozone-datanode-3", "action" : "status", "status" : "failure", "errorMsg" : "Invalid host name: local host is: \"cc2acd5aa05c/172.18.0.2\"; destination host is: \"ozone-datanode-3\":19864; java.net.UnknownHostException: Invalid host name: local host is: \"cc2acd5aa05c/172.18.0.2\"; destination host is: \"ozone-datanode-3\":19864; java.net.UnknownHostException; For more details see: http://wiki.apache.org/hadoop/UnknownHost; For more details see: http://wiki.apache.org/hadoop/UnknownHost" }, { "datanode" : "ozone-datanode-5.ozone_default", "status" : "RUNNING", "threshold" : 1.0E-4, "bandwidthInMB" : 300, "threads" : 5, "successMove" : 0, "failureMove" : 0, "bytesMovedMB" : 0, "estBytesToMoveMB" : 0, "estTimeLeftMin" : 0 } ] ``` -- 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]
