Hadoop Common
  1. Hadoop Common
  2. HADOOP-8703

distcpV2: turn CRC checking off for 0 byte size

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

        Dave Thompson created issue -
        Dave Thompson made changes -
        Field Original Value New Value
        Attachment HADOOP-8703-branch-0.23.patch [ 12541073 ]
        Dave Thompson made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note distcp skips CRC on 0 byte files.
        Dave Thompson made changes -
        Attachment HADOOP-8703-branch-0.23.patch [ 12541101 ]
        Robert Joseph Evans made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 2.1.0-alpha [ 12321441 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Fix Version/s 2.0.2-alpha [ 12322473 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Fix Version/s 2.1.0-alpha [ 12321441 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development