hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-16158) DistCp to support checksum validation when copy blocks in parallel
Date Mon, 19 Aug 2019 01:51:00 GMT

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

Hudson commented on HADOOP-16158:
---------------------------------

FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #17146 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/17146/])
HADOOP-16158. DistCp to support checksum validation when copy blocks in (weichiu: rev c765584eb231f8482f5b90b7e8f61f9f7a931d09)
* (edit) hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/util/DistCpUtils.java
* (edit) hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/util/TestDistCpUtils.java
* (edit) hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/RetriableFileCopyCommand.java
* (add) hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/util/TestDistCpUtilsWithCombineMode.java
* (edit) hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/CopyCommitter.java
* (edit) hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/mapred/TestCopyCommitter.java


> 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
>
> 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


Mime
View raw message