You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kai Xie (Jira)" <ji...@apache.org> on 2019/08/28 14:30:00 UTC

[jira] [Updated] (HADOOP-16536) Backport HADOOP-16158 to branch-2

     [ https://issues.apache.org/jira/browse/HADOOP-16536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kai Xie updated HADOOP-16536:
-----------------------------
        Fix Version/s:     (was: 3.1.3)
                           (was: 3.2.1)
                           (was: 3.3.0)
    Affects Version/s:     (was: 3.1.2)
                           (was: 3.0.3)
                           (was: 3.2.0)

> Backport HADOOP-16158 to branch-2
> ---------------------------------
>
>                 Key: HADOOP-16536
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16536
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: tools/distcp
>    Affects Versions: 2.9.2
>            Reporter: Kai Xie
>            Assignee: Kai Xie
>            Priority: Major
>
> Copying blocks in parallel (enabled when blocks per chunk > 0) is a great DistCp improvement that can hugely speed up copying big files. 
> But its checksum validation is skipped, e.g. in `RetriableFileCopyCommand.java`
>  
> {code:java}
> if (!source.isSplit()) {
>   compareCheckSums(sourceFS, source.getPath(), sourceChecksum,
>       targetFS, targetPath);
> }
> {code}
> and this could result in checksum/data mismatch without notifying developers/users (e.g. HADOOP-16049).
> I'd like to provide a patch to add the checksum validation.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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