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

   ### Description of PR
   
   https://issues.apache.org/jira/browse/HDFS-17515
   
   ### How was this patch tested?
   
   unit test
   
   ### For code changes:
   
   - Add pendingECBlockReplicationWithoutTargets for DatanodeDescriptor
   - When construct ErasureCodingWork, increase 
pendingECBlockReplicationWithoutTargets. When set targets, decrease 
pendingECBlockReplicationWithoutTargets.
   - Because we can not decide the real source datanode when 
scheduleReconstruction, so update pendingECBlockReplicationWithoutTargets for 
all source datanode. So when we calculate getNumberOfBlocksToBeReplicated, use 
a factor to appropriately lower the value.
   
   


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