Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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.
[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)