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

Usman Masood commented on HADOOP-7460:
--------------------------------------

current and homesParent seem too tied up to TrashPolicyDefault to be moved up 
to TrashPolicy. I don't think any other TrashPolicy would make use of these two 
vars. I will move fs, trash and deletionInterval to TrashPolicy.

I will also make TrashPolicy InterfaceAudience.Public.

Does anyone have any ideas for how to resolve the FindBug issue? I explained it 
in a previous comment.

> 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, 
> PluggableTrash_V3.patch, PluggableTrash_V4.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