[ 
https://issues.apache.org/jira/browse/HDFS-12062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDFS-12062:
-----------------------------------
    Attachment: HDFS-12062.001.patch

Attach a simple one-liner fix to add permission check. [~eddyxu], mind to take 
a look?

> 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
>         Attachments: HDFS-12062.001.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to