[ https://issues.apache.org/jira/browse/HDFS-14620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878847#comment-16878847 ]
Íñigo Goiri commented on HDFS-14620: ------------------------------------ Thanks [~Huachao] for the patch and [~hexiaoqiao] and [~ayushtkn] for the review. Committed to trunk. > RBF: Fix 'not a super user' error when disabling a namespace in kerberos with > superuser principal > ------------------------------------------------------------------------------------------------- > > Key: HDFS-14620 > URL: https://issues.apache.org/jira/browse/HDFS-14620 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: 3.30 > Reporter: luhuachao > Assignee: luhuachao > Priority: Major > Fix For: 3.3.0 > > Attachments: HDFS-14620-HDFS-13891-01.patch, > HDFS-14620-HDFS-13891-02.patch, HDFS-14620-HDFS-13891-03.patch, > HDFS-14620-HDFS-13891-04.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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org