Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16536

Backport HADOOP-16158 and HADOOP-15273 to branch-2

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.9.2
    • None
    • tools/distcp
    • None

    Description

      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`

       

      if (!source.isSplit()) {
        compareCheckSums(sourceFS, source.getPath(), sourceChecksum,
            targetFS, targetPath);
      }
      

      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.

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kai33 Kai Xie
            kai33 Kai Xie

            Dates

              Created:
              Updated:

              Slack

                Issue deployment