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

Kihwal Lee commented on HADOOP-8143:
------------------------------------

For those who want this to be the default behavior, you can achieve it using 
config. 

In {{distcp-site.xml}}, set the following to preserve checksum and block size.
{code:xml}
    <property>
        <name>distcp.always.preserve.checksum</name>
        <value>true</value>
    </property>
{code}

If you build your own hadoop releases, you can put it in {{distcp-default.xml}}.

> Change distcp to have -pb on by default
> ---------------------------------------
>
>                 Key: HADOOP-8143
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8143
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Dave Thompson
>            Assignee: Mithun Radhakrishnan
>            Priority: Minor
>             Fix For: 3.0.0-alpha4
>
>         Attachments: HADOOP-8143.1.patch, HADOOP-8143.2.patch, 
> HADOOP-8143.3.patch
>
>
> We should have the preserve blocksize (-pb) on in distcp by default.        
> checksum which is on by default will always fail if blocksize is not the same.



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

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

Reply via email to