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

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

Configured class should not call non final method in it's constructor. The 
problem starts there.

Do you expect the conf for TrashPolicy to change post construction? If not then 
you do not need to override the setConf() in Trash. Just call setConf() for 
TrashPolicy, post it's construction.

> 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