luhuachao created HDFS-14620:
--------------------------------
Summary: 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: HDFS-13891
Reporter: luhuachao
Fix For: HDFS-13891
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: [email protected]
For additional commands, e-mail: [email protected]