hfutatzhanghb opened a new pull request, #5600: URL: https://github.com/apache/hadoop/pull/5600
### Description of PR For now, the NumTimedOutPendingReconstructions metric is computed by below statement: ```java timedOutCount + timedOutItems.size(); ``` Therefore, its value would always be accumulated unless namenode failover happens. In fact, the NumTimedOutPendingReconstructions metric should not be accumulated, So, we should set it to zero after we execute getNumTimedOuts method. ### How was this patch tested? The UT TestPendingReconstruction#testPendingReconstruction was passed. -- 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]
