Jimvin commented on PR #8341:
URL: https://github.com/apache/hadoop/pull/8341#issuecomment-4066772060

   This patch was manually tested since there are quite a few moving parts. The 
test cases that fail before the patch are as follow:
   - `hdfs dfsadmin -report` displays an error 
(java.lang.IllegalArgumentException) when showing the datanode report.
   - The NameNode web UI is missing status content on the Datanodes and 
Datanode Volume Failure tabs.
   
   The test procedure used is as follows:
   - Deploy a HDFS cluster on Kubernetes with 3 datanodes deployed to three 
separate Kubernetes nodes.
   - Cordon one of the Kubernetes nodes and delete the datanode pod run on this 
Kubernetes node.
   
   Before the patch both the `dfsadmin -report` and the namenode webUI are 
broken as described above. With the patch in place then both work as expected.
   - All three datanode appear in the `dfsadmin -report` output and in the 
namenode web UI with status "live".
   - 10 minutes after the datanode pod was deleted the node appears as "dead" 
in both `dfadmin -report` and the nodenode web UI. This is the default 
behaviour expected for an offline datanode.


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