[ 
https://issues.apache.org/jira/browse/HDFS-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840282#comment-16840282
 ] 

Shen Yinjie edited comment on HDFS-9913 at 5/16/19 2:06 AM:
------------------------------------------------------------

Agree with you, [~ste...@apache.org] , currently docs and codes are not 
consistent,and docs may confuse users. We should update the docs or change 
codes to support  "useTrash" as [~szetszwo] suggested in MAPREDUCE-6597.
[~jzhuge] Are you still working on this issue? I'd like to take over  if you 
dont mind.


was (Author: shenyinjie):
[~ste...@apache.org] Agree with you, currently docs and codes are not 
consistent. We should update the docs or change codes as [~szetszwo] suggested 
in MAPREDUCE-6597.
[~jzhuge] Are you still working on this issue? I'd like to take over  if you 
dont mind.

> DispCp doesn't use Trash with -delete option
> --------------------------------------------
>
>                 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: John Zhuge
>            Priority: Major
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to