hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fei Hui (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14802) The feature of protect directories should be used in RenameOp
Date Mon, 02 Sep 2019 02:48:00 GMT

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

Fei Hui commented on HDFS-14802:
--------------------------------

Upload v003 patch. Fix checkstyle

> The feature of protect directories should be used in RenameOp
> -------------------------------------------------------------
>
>                 Key: HDFS-14802
>                 URL: https://issues.apache.org/jira/browse/HDFS-14802
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 3.0.4, 3.3.0, 3.2.1, 3.1.3
>            Reporter: Fei Hui
>            Assignee: Fei Hui
>            Priority: Major
>         Attachments: HDFS-14802.001.patch, HDFS-14802.002.patch, HDFS-14802.003.patch
>
>
> Now we could set fs.protected.directories to prevent users from deleting important directories.
But users can delete directories around the limitation.
> 1. Rename the directories and delete them.
> 2. move the directories to trash and namenode will delete them.
> So I think we should use the feature of protected directories in RenameOp



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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


Mime
View raw message