[
https://issues.apache.org/jira/browse/HDFS-12241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913905#comment-16913905
]
Lisheng Sun commented on HDFS-12241:
------------------------------------
hi [~jojochuang] If Httpfs implement {{FileSystem#rename(final Path src, final
Path dst, final Rename... options)}}, trashPath param is also provided by user.
I think it is a bit unreasonable.
I think we can add isMovetoTrash param in FSDelete. If isMovetoTrash is
true,FSDelete call Trash.moveToAppropriateTrash(fs,path,conf).
Please correct me if I was wrong. Thank you.
> HttpFS to support overloaded FileSystem#rename API
> --------------------------------------------------
>
> Key: HDFS-12241
> URL: https://issues.apache.org/jira/browse/HDFS-12241
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: httpfs
> Reporter: Wei-Chiu Chuang
> Assignee: Lisheng Sun
> Priority: Major
>
> Httpfs is essentially the parity of webhdfs. But it does not implement
> {{FileSystem#rename(final Path src, final Path dst, final Rename...
> options)}}, which mean it does not support trash.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]