ZanderXu commented on PR #5123:
URL: https://github.com/apache/hadoop/pull/5123#issuecomment-1312355107

   I changed the related code to 
   ```
       for (Map.Entry<String, Long> entry : remoteMapping.entrySet()) {
         String key = entry.getKey();
         long localValue = localMapping.getOrDefault(key, 0L);
         localMapping.put(key, Math.max(entry.getValue(), localValue));
       }
   ```
   
   @tomscut Sir, please help me review it again. Thanks 


-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to