[
https://issues.apache.org/jira/browse/HDFS-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046865#comment-18046865
]
ASF GitHub Bot commented on HDFS-9913:
--------------------------------------
github-actions[bot] commented on PR #1111:
URL: https://github.com/apache/hadoop/pull/1111#issuecomment-3678240555
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> DistCp to add -useTrash to move deleted files to Trash
> ------------------------------------------------------
>
> Key: HDFS-9913
> URL: https://issues.apache.org/jira/browse/HDFS-9913
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: distcp
> Affects Versions: 2.6.0
> Reporter: Konstantin Shaposhnikov
> Assignee: Shen Yinjie
> Priority: Major
> Attachments: HDFS-9913_1.patch, HDFS-9913_2.patch
>
>
> Documentation for DistCp -delete option says
> ([http://hadoop.apache.org/docs/current/hadoop-distcp/DistCp.html]):
> | The deletion is done by FS Shell. So the trash will be used, if it is
> enable.
> However it seems to be no longer the case. The latest source code
> (https://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/CopyCommitter.java)
> uses `FileSystem.delete` and trash options seems to be not applied.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]