You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "luhuachao (JIRA)" <ji...@apache.org> on 2019/07/01 13:21:00 UTC

[jira] [Updated] (HDFS-14620) RBF: when Disable namespace in kerberos with superuser's principal, ERROR appear 'not a super user'

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

luhuachao updated HDFS-14620:
-----------------------------
    Attachment: HDFS-14620-HDFS-13891-02.patch

> RBF: when Disable namespace in kerberos with superuser's principal, ERROR appear 'not a super user' 
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14620
>                 URL: https://issues.apache.org/jira/browse/HDFS-14620
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.30
>            Reporter: luhuachao
>            Assignee: luhuachao
>            Priority: Major
>         Attachments: HDFS-14620-HDFS-13891-01.patch, HDFS-14620-HDFS-13891-02.patch
>
>
> use superuser hdfs's principal hdfs-test@EXAMPLE cannot disable namespace with error info below, as the code judge the principal not equals to hdfs, also hdfs is not belong to supergroup.
> {code:java}
> [hdfs@host1 ~]$ hdfs dfsrouteradmin -nameservice disable ns2 nameservice: hdfs-test@EXAMPLE is not a super user at org.apache.hadoop.hdfs.server.federation.router.RouterPermissionChecker.checkSuperuserPrivilege(RouterPermissionChecker.java:136)
> {code}



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

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