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

Uma Maheswara Rao G commented on HDFS-10884:
--------------------------------------------

[~rakeshr] Thanks for the patch. Overall idea looks good. Now quick question on 
patch

{code}
void handle(BlockMovementResult result) {
+      completedBlocks.add(result);
+      // TODO: notify namenode about the success/failures.
+    }
+
{code}
Are you planning to notify for each and every block or all blocks associated to 
trackID  as combined result?

I will continue review and post my feedback by tomorrow, Thanks

> [SPS]: Add block movement tracker to track the completion of block movement 
> future tasks at DN
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-10884
>                 URL: https://issues.apache.org/jira/browse/HDFS-10884
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: HDFS-10285
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>         Attachments: HDFS-10884-HDFS-10285-00.patch, 
> HDFS-10884-HDFS-10285-01.patch, HDFS-10884-HDFS-10285-02.patch, 
> HDFS-10884-HDFS-10285-03.patch, HDFS-10884-HDFS-10285-04.patch
>
>
> Presently 
> [StoragePolicySatisfyWorker#processBlockMovingTasks()|https://github.com/apache/hadoop/blob/HDFS-10285/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/StoragePolicySatisfyWorker.java#L147]
>  function act as a blocking call. The idea of this jira is to implement a 
> mechanism to track these movements async so that would allow other movement 
> while processing the previous one.



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

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

Reply via email to