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

distcpV2: turn CRC checking off for 0 byte size

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: None
    • Labels:
      None
    • Release Note:
      distcp skips CRC on 0 byte files.

      Description

      DistcpV2 (hadoop-tools/hadoop-distcp/..) can fail from checksum failure, sometimes when copying a 0 byte file. Root cause of this may have to do with an inconsistent nature of HDFS when creating 0 byte files, however distcp can avoid this issue by not checking CRC when size is zero.

      This issue was reported as part of HADOOP-8233, though it seems like a better idea to treat this particular aspect on it's own.

        Attachments

        1. HADOOP-8703-branch-0.23.patch
          0.9 kB
          Dave Thompson
        2. HADOOP-8703-branch-0.23.patch
          0.9 kB
          Dave Thompson

          Activity

            People

            • Assignee:
              davet Dave Thompson
              Reporter:
              davet Dave Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: