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

Zhe Zhang commented on HDFS-8983:
---------------------------------

Quick note that I'm working on backporting HDFS-10744 to branch-2.7; since this 
change is not in branch-2.7, the overlapping part won't be backported.

If someone plans to backport this to branch-2.7, please remember to add the 
optimization from HDFS-10744. 

> NameNode support for protected directories
> ------------------------------------------
>
>                 Key: HDFS-8983
>                 URL: https://issues.apache.org/jira/browse/HDFS-8983
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.7.1
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>             Fix For: 2.8.0, 3.0.0-alpha1
>
>         Attachments: HDFS-8393.01.patch, HDFS-8393.02.patch, 
> HDFS-8983.03.patch, HDFS-8983.04.patch
>
>
> To protect important system directories from inadvertent deletion (e.g. 
> /Users) the NameNode can allow marking directories as _protected_. Such 
> directories cannot be deleted unless they are empty. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to