[ 
https://issues.apache.org/jira/browse/HADOOP-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Sigoure updated HADOOP-3939:
-----------------------------------

    Hadoop Flags: Reviewed  (was: Reviewed,Incompatible change)

Oops, sorry I meant to edit HBASE-3939.
                
> DistCp should support an option for deleting non-existing files.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3939
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3939
>             Project: Hadoop Common
>          Issue Type: New Feature
>            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, 3939_20080829b_0.18+3873_20080811b_0.18.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.
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

        

Reply via email to