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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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-01.patch
          0.8 kB
          luhuachao
        2. HDFS-14620-HDFS-13891-02.patch
          4 kB
          luhuachao
        3. HDFS-14620-HDFS-13891-03.patch
          4 kB
          luhuachao
        4. HDFS-14620-HDFS-13891-04.patch
          5 kB
          luhuachao

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: