sodonnel opened a new pull request, #4394:
URL: https://github.com/apache/hadoop/pull/4394

   ### Description of PR
   
   Avoid concurrently modifying the outOfServiceNodeBlocks map in the 
DatanodeAdminDefaultMonitor when ending maintenance. The concurrentModification 
can cause the monitor to get stuck in an infinite loop in some circumstances, 
while holding the NN write lock.
   
   The issue does not affect the DatanodeAdminBackoffMonitor, as it is 
implemented slightly differently.
   
   More details in the Jira https://issues.apache.org/jira/browse/HDFS-16583
   
   This is a backport for branch-3.2 as the newer branches have diverged 
significantly.
   
   ### How was this patch tested?
   
   Existing tests cover it.
   
   


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