deepujain commented on PR #8310:
URL: https://github.com/apache/hadoop/pull/8310#issuecomment-4084013414

   Rebased on trunk.
   
   Adjusted `TestCorruptMetadataFile.testReportCorruptMetaHeaderToNameNode()`: 
when the cluster has a single replica and the meta file is corrupt, the client 
can see either `CorruptMetaHeaderException` or a "No live nodes" `IOException` 
(depending on whether the failure happens in the initial getBlockReader vs 
during read). The test now accepts both; it still asserts that the block is 
reported to the NameNode (corrupt block count becomes 1).
   
   Local tests: `./mvnw test -pl hadoop-hdfs-project/hadoop-hdfs -am 
-Dtest=TestCorruptMetadataFile -DskipTests=false` — all 3 tests passed.
   Ready for CI.


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