Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14603 Über-JIRA: HDFS RBF stabilization phase II
  3. HDFS-14620

RBF: Fix 'not a super user' error when disabling a namespace in kerberos with superuser principal

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • 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)
      

      Attachments

        1. HDFS-14620-HDFS-13891-04.patch
          5 kB
          luhuachao
        2. HDFS-14620-HDFS-13891-03.patch
          4 kB
          luhuachao
        3. HDFS-14620-HDFS-13891-02.patch
          4 kB
          luhuachao
        4. HDFS-14620-HDFS-13891-01.patch
          0.8 kB
          luhuachao

        Activity

          People

            Huachao luhuachao
            Huachao luhuachao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: