You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ravi Gummadi (JIRA)" <ji...@apache.org> on 2009/06/19 10:55:07 UTC
[jira] Updated: (HADOOP-6051) distcp does not skip copying file if
we are updating single file
[ https://issues.apache.org/jira/browse/HADOOP-6051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravi Gummadi updated HADOOP-6051:
---------------------------------
Attachment: d_singlefile_update.patch
Attaching patch that fixes the path (used for checking checksums for -update) issue for single file update.
Please review and provide your comments.
> distcp does not skip copying file if we are updating single file
> ----------------------------------------------------------------
>
> Key: HADOOP-6051
> URL: https://issues.apache.org/jira/browse/HADOOP-6051
> Project: Hadoop Core
> Issue Type: Bug
> Components: tools/distcp
> Affects Versions: 0.21.0
> Reporter: Ravi Gummadi
> Assignee: Ravi Gummadi
> Fix For: 0.21.0
>
> Attachments: d_singlefile_update.patch
>
>
> distcp doesn't skip copying file when we do -update on single file if the destfile already exists.
> When we do
> hadoop distcp -update srcfilename destfilename
> it seems to be comparing checksums of srcfilename and destfilename/srcfilename and so skip is not done. It should compare checksums of srcfilename and destfilename.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.