You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sanjay Radia (JIRA)" <ji...@apache.org> on 2015/07/14 22:22:05 UTC

[jira] [Commented] (HADOOP-7310) Trash location needs to be revisited

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

Sanjay Radia commented on HADOOP-7310:
--------------------------------------

Looking at HDFS-8747, perhaps the better solution is:
Whenever a file is deleted, the trash is located by searching up the path and finding the closest parent dir that has trash.
It solves trash in encryption zone, trash in any quota based subtree (such as home directory) .
Ie the system creates trash in /, home dirs, encryotion zones etc. The increased complication  is that the NN needs to deal with multiple trash locations.

> Trash location needs to be revisited
> ------------------------------------
>
>                 Key: HADOOP-7310
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7310
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-alpha
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)