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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2019/08/12 18:31:00 UTC

[jira] [Commented] (HADOOP-16158) DistCp to support checksum validation when copy blocks in parallel

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

Hadoop QA commented on HADOOP-16158:
------------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  6s{color} | {color:red} HADOOP-16158 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HADOOP-16158 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12965795/HADOOP-16158-005.patch |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/16472/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> DistCp to support checksum validation when copy blocks in parallel
> ------------------------------------------------------------------
>
>                 Key: HADOOP-16158
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16158
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: tools/distcp
>    Affects Versions: 3.2.0, 2.9.2, 3.0.3, 3.1.2
>            Reporter: Kai Xie
>            Assignee: Kai Xie
>            Priority: Major
>         Attachments: HADOOP-16158-001.patch, HADOOP-16158-002.patch, HADOOP-16158-003.patch, HADOOP-16158-004.patch, HADOOP-16158-005.patch
>
>
> 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
(v7.6.14#76016)

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