[
https://issues.apache.org/jira/browse/HDFS-9613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15088786#comment-15088786
]
Kai Zheng commented on HDFS-9613:
---------------------------------
I refined the description and repurposed it a bit. This will only focus on
discussion of the improvement and leave the minor clean up things for separate
issue.
> Don't compare file checksums after copy if block size and checksum opt are
> not preserved for replicated files
> -------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-9613
> URL: https://issues.apache.org/jira/browse/HDFS-9613
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Kai Zheng
> Assignee: Kai Zheng
> Priority: Minor
> Attachments: HDFS-9613-v1.patch, HDFS-9613-v2.patch
>
>
> While working on related issue, it was noticed there are some places in
> {{distcp}} that's better to be improved and cleaned up. Particularly, after a
> file is coped to target cluster, it will check the copied file is fine or
> not. For replicated files, when checking, if the source block size and
> checksum option are not preserved while copying, we can avoid comparing the
> file checksums, which may save some time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)