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

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

{{moveBlockAcrossStorage}} requires Mover send correct {{numOfBytes}}, 
otherwise DN reject the command.
I'm thinking:
1. Is it necessary to check corruption when moving across storage inside DN?
2. If so, we wait HDFS-8289, so we get ECSchema from FileStatus, and calculate 
{{numOfBytes}} by calling StripedBlockUtil.constructInternalBlock(..)

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