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

   ## What changes were proposed in this pull request?
   Datanode startup can hang indefinitely when container initialization stalls 
without throwing — typically when the Ratis write channel is recovering Raft 
groups and a read blocks on a failing volume. OzoneContainer.start() never 
returns, so the datanode never registers/heartbeats, logs endpoint‑task 
timeouts forever, and re‑hits the same stall on restart.
   
   This complements 
[HDDS‑16425](https://issues.apache.org/jira/browse/HDDS-16425) (which handles 
init failures that throw); this covers the hang case.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-16425
   
   ## How was this patch tested?
   
   - New unit test 
TestOzoneContainer#testInitTimeoutFailsStartupWhenInitializationStalls (stall → 
IOException caused by TimeoutException, then fails fast as FAILED)
   - test-compile and checkstyle:check on hadoop-hdds/container-service
   


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