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

Suresh Srinivas commented on HADOOP-7460:
-----------------------------------------

I am glad you agree. By using Trash as Facade you can avoid the interface 
changes getting to the user.

> Though I'm just wondering if there are some clients which make some 
> assumptions based on the implementation of Trash when they use it? This might 
> break things for them.
Clearly articulating what Trash is and what it is not is a good start here. We 
could also in javadoc say, see the implementation of TrashPolicy for more 
details. I can help with you in this regard, in the next patch review.


> Support for pluggable Trash policies
> ------------------------------------
>
>                 Key: HADOOP-7460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7460
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: dhruba borthakur
>            Assignee: Usman Masood
>         Attachments: PluggableTrash.patch, PluggableTrash_V2.patch
>
>
> It would be beneficial to make the Trash policy pluggable. One primary 
> use-case for this is to archive files (in some remote store) when they get 
> removed by Trash emptier.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to