[
https://issues.apache.org/jira/browse/MAPREDUCE-6597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15082546#comment-15082546
]
Tsz Wo Nicholas Sze commented on MAPREDUCE-6597:
------------------------------------------------
> ... We should add the option skipTrash to control the behavior. if skipTrash
> missing, we will move the path to the trash first rather than delete them
> directly.
This is an incompatible change. We probably should do it the other way -- add
a useTrash option.
> Distcp should move the path to trash when delete missing path from source
> -------------------------------------------------------------------------
>
> Key: MAPREDUCE-6597
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6597
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: distcp
> Reporter: jeanlyn
> Assignee: jeanlyn
> Priority: Minor
> Attachments: MAPREDUCE-6597.001.patch, MAPREDUCE-6597.002.patch
>
>
> For now, when we use the *distcp* with the delete option, the path will be
> deleted when missing in the source. We should add the option *skipTrash* to
> control the behavior. if *skipTrash* missing, we will move the path to the
> trash first rather than delete them directly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)