[
https://issues.apache.org/jira/browse/HADOOP-8703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Thompson updated HADOOP-8703:
----------------------------------
Attachment: HADOOP-8703-branch-0.23.patch
Attaching a patch to skip CRC check on 0 byte files.
> distcpV2: turn CRC checking off for 0 byte size
> -----------------------------------------------
>
> Key: HADOOP-8703
> URL: https://issues.apache.org/jira/browse/HADOOP-8703
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.23.3
> Reporter: Dave Thompson
> Assignee: Dave Thompson
> Fix For: 0.23.3
>
> Attachments: HADOOP-8703-branch-0.23.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira