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

Tao Jie commented on HADOOP-15887:
----------------------------------

[~ayushtkn] Thank you for your comment. I've rebased the patch to the trunk. 
For the exception logic in test code, I think it is acceptable and I prefer to 
keep the behavior the same as other testcases.

> Add an option to avoid writing data locally in Distcp
> -----------------------------------------------------
>
>                 Key: HADOOP-15887
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15887
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: tools/distcp
>    Affects Versions: 2.8.2, 3.0.0
>            Reporter: Tao Jie
>            Assignee: Tao Jie
>            Priority: Major
>         Attachments: HADOOP-15887.001.patch, HADOOP-15887.002.patch, 
> HADOOP-15887.003.patch
>
>
> When copying large amount of data from one cluster to another via Distcp, and 
> the Distcp jobs run in the target cluster, the datanode local usage would be 
> imbalanced. Because the default placement policy chooses the local node to 
> store the first replication.
> In https://issues.apache.org/jira/browse/HDFS-3702 we add a flag in DFSClient 
> to avoid replicating to the local datanode.  We can make use of this flag in 
> Distcp.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to