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

Hudson commented on HDFS-6247:
------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1863 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1863/])
HDFS-6247. Avoid timeouts for replaceBlock() call by sending intermediate 
responses to Balancer (vinayakumarb) (vinayakumarb: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1617799)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Dispatcher.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/datatransfer.proto
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestBlockReplacement.java


> Avoid timeouts for replaceBlock() call by sending intermediate responses to 
> Balancer
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-6247
>                 URL: https://issues.apache.org/jira/browse/HDFS-6247
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer, datanode
>    Affects Versions: 2.4.0
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>             Fix For: 2.6.0
>
>         Attachments: HDFS-6247.patch, HDFS-6247.patch, HDFS-6247.patch, 
> HDFS-6247.patch, HDFS-6247.patch, HDFS-6247.patch, HDFS-6247.patch, 
> HDFS-6247.patch
>
>
> Currently there is no response sent from target Datanode to Balancer for the 
> replaceBlock() calls.
> Since the Block movement for balancing is throttled, complete block movement 
> will take time and this could result in timeout at Balancer, which will be 
> trying to read the status message.
>  
> To Avoid this during replaceBlock() call in in progress Datanode  can send 
> IN_PROGRESS status messages to Balancer to avoid timeouts and treat 
> BlockMovement as  failed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to