[ 
https://issues.apache.org/jira/browse/HDFS-7621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545421#comment-14545421
 ] 

Walter Su commented on HDFS-7621:
---------------------------------

005 patch totally rewrite, except tests. Please review.
hints for reviewing:
1. new class {{StripedBlockWithLocations}}, {{DBlockStriped}} to represent 
blockgroup
2. PendingMove represents a (source, target, reportedBlock) triple. 
The newly created PendingMove is (source, target, null)
{{PendingMove.markMovedIfGoodBlock}} get block/blockgroup from Source, and  
validate block/blockgroup, and parse it, and save reported block to itself.  
After that, PendingMove represents a (source, target, reportedBlock) triple, 
it's final, and will be dispatched.


> Erasure Coding: update the Balancer/Mover data migration logic
> --------------------------------------------------------------
>
>                 Key: HDFS-7621
>                 URL: https://issues.apache.org/jira/browse/HDFS-7621
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Jing Zhao
>            Assignee: Walter Su
>              Labels: HDFS-7285
>         Attachments: HDFS-7621.001.patch, HDFS-7621.002.patch, 
> HDFS-7621.003.patch, HDFS-7621.004.patch, HDFS-7621.005.patch
>
>
> Currently the Balancer/Mover only considers the distribution of replicas of 
> the same block during data migration: the migration cannot decrease the 
> number of racks. With EC the Balancer and Mover should also take into account 
> the distribution of blocks belonging to the same block group.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to