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

Siddharth Wagle commented on HDFS-15154:
----------------------------------------

Thanks for the reviews [~ayushtkn] and [~arp], I will make the suggested 
changes, just two points to clarify:
- If not superuser, we do regular permission check hence I made the UT changes 
in the setup instead of method local, so that default path is verified by all 
the tests in TestHdfsAdmin.
- Regarding [~arp] point, is "supergroup" synonymous with ADMINISTRATORS?  

> Allow only hdfs superusers the ability to assign HDFS storage policies
> ----------------------------------------------------------------------
>
>                 Key: HDFS-15154
>                 URL: https://issues.apache.org/jira/browse/HDFS-15154
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.0.0
>            Reporter: Bob Cauthen
>            Assignee: Siddharth Wagle
>            Priority: Major
>         Attachments: HDFS-15154.01.patch, HDFS-15154.02.patch
>
>
> Please provide a way to limit only HDFS superusers the ability to assign HDFS 
> Storage Policies to HDFS directories.
> Currently, and based on Jira HDFS-7093, all storage policies can be disabled 
> cluster wide by setting the following:
> dfs.storage.policy.enabled to false
> But we need a way to allow only HDFS superusers the ability to assign an HDFS 
> Storage Policy to an HDFS directory.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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