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

Íñigo Goiri commented on HDFS-14418:
------------------------------------

The case for {{createEncryptionZone()}} is specially weird.
Lines 7399 and 7400 do the same as 7405 and 7406 outside the lock.
Any idea what is the idea there?

BTW, is the test coverage good to verify that the permissions are checked?

> Remove redundant super user priveledge checks from namenode.
> ------------------------------------------------------------
>
>                 Key: HDFS-14418
>                 URL: https://issues.apache.org/jira/browse/HDFS-14418
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14418-01.patch
>
>
> There are couple of methods that unnecessarily double checks super user 
> privileged at namenode, which can reduced to single.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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