Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13532 RBF: Adding security
  3. HDFS-14129

RBF: Create new policy provider for router

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-13532
    • 3.3.0, HDFS-13891
    • namenode
    • None

    Description

      Router is usingĀ HDFSPolicyProvider. We can't add new protocol in this class for router, its better to create in policy provider for Router.

      // Set service-level authorization security policy
      if (conf.getBoolean(HADOOP_SECURITY_AUTHORIZATION, false)) {
      this.adminServer.refreshServiceAcl(conf, new HDFSPolicyProvider());
      }
      

      I got this issue when I am verified HDFS-14079 with secure cluster.

      ./bin/hdfs dfsrouteradmin -ls /
      ls: Protocol interface org.apache.hadoop.hdfs.protocolPB.RouterAdminProtocol is not known.
      org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): Protocol interface org.apache.hadoop.hdfs.protocolPB.RouterAdminProtocol is not known.
              at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1520)
              at org.apache.hadoop.ipc.Client.call(Client.java:1466)
      

      Attachments

        1. HDFS-14129-HDFS-13891.001.patch
          8 kB
          Ranith Sardar
        2. HDFS-14129-HDFS-13891.002.patch
          15 kB
          Ranith Sardar
        3. HDFS-14129-HDFS-13891.003.patch
          17 kB
          Ranith Sardar
        4. HDFS-14129-HDFS-13891.004.patch
          17 kB
          Ranith Sardar
        5. HDFS-14129-HDFS-13891.005.patch
          17 kB
          Ranith Sardar
        6. HDFS-14129-HDFS-13891.006.patch
          17 kB
          Ranith Sardar
        7. HDFS-14129-HDFS-13891.006.patch
          17 kB
          Ranith Sardar
        8. HDFS-14129-HDFS-13891.007.patch
          17 kB
          Ranith Sardar
        9. HDFS-14129-HDFS-13891.008.patch
          17 kB
          Ranith Sardar
        10. HDFS-14129-HDFS-13891.008.patch
          17 kB
          Ranith Sardar
        11. HDFS-14129-HDFS-13891.009.patch
          17 kB
          Ranith Sardar
        12. HDFS-14129-HDFS-13891.010.patch
          18 kB
          Ranith Sardar
        13. HDFS-14129-HDFS-13891.011.patch
          19 kB
          Ranith Sardar
        14. HDFS-14129-HDFS-13891.012.patch
          19 kB
          Ranith Sardar

        Activity

          People

            RANith Ranith Sardar
            surendralilhore Surendra Singh Lilhore
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: