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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2008/09/01 21:10:44 UTC

[jira] Commented: (HADOOP-3939) DistCp should support an option for deleting non-existing files.

    [ https://issues.apache.org/jira/browse/HADOOP-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627518#action_12627518 ] 

Hadoop QA commented on HADOOP-3939:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12389205/3939_20080829b.patch
  against trunk revision 690641.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3150/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3150/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3150/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3150/console

This message is automatically generated.

> DistCp should support an option for deleting non-existing files.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3939
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3939
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: tools/distcp
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.19.0
>
>         Attachments: 3939_20080825.patch, 3939_20080825b.patch, 3939_20080826.patch, 3939_20080828.patch, 3939_20080829.patch, 3939_20080829b.patch
>
>
> One use case of DistCp is to sync two directories.  Currently, DistCp has an -update option for overwriting dst files if src is different from dst.  However, it is not enough for sync.  If there are some files in dst but not exist in src, there is no easy way to delete them.  We should add a new option, say -delete, so that DistCp will delete the non-existing in dst.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.