lfxy commented on PR #5143:
URL: https://github.com/apache/hadoop/pull/5143#issuecomment-1320081540

   @tasanuma Yes, you are right,  when decommission DNs, both ec blocks and 
replication blocks are belong to replication tasks. 
   And in DatanodeDescriptor class, replication blocks and ec blocks are both 
in 'BlockQueue<BlockTargetPair> replicateBlocks'. I think if we want to 
distinguish ec blocks and replication blocks in replication tasks when 
decommissioning dns, we need to put ec blocks in another variable in 
DataNodeDescriptor class besides 'replicateBlocks', such as 
'BlockQueue<BlockTargetPair> ecReplicatedBlocks'. Do you agree me?


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