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

Lei (Eddy) Xu commented on HDFS-12062:
--------------------------------------

+1.  It LGTM. 

Would you like to use {{LambdaTestUtils#intercept()}} in your test. It'd be a 
nice JDK 8 improvement.  I'd ok with either way.

> removeErasureCodingPolicy needs super user permission
> -----------------------------------------------------
>
>                 Key: HDFS-12062
>                 URL: https://issues.apache.org/jira/browse/HDFS-12062
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Critical
>              Labels: hdfs-ec-3.0-must-do
>         Attachments: HDFS-12062.001.patch, HDFS-12062.002.patch
>
>
> Currently {{NameNodeRPCServer#removeErasureCodingPolicy}} does not require 
> super user permission. This is not appropriate as 
> {{NameNodeRPCServer#addErasureCodingPolicies}} requires super user permission.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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