Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22313

Add a method to FsDelegationToken to accept token kind

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 1.5.0, 2.3.0
    • Component/s: security
    • Labels:
      None

      Description

      The acquireDelegationToken method [1] defaults to checking for delegation token of kind "HDFS_DELEGATION_TOKEN" before fetching it from the FileSystem. It would be helpful to have a method that accepts the token kind and fetches delegation token from UserProvider for that token kind.

      [1] - https://github.com/apache/hbase/blob/rel/2.1.4/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/FsDelegationToken.java#L67 

        Attachments

        1. HBASE-22313.patch
          10 kB
          Venkatesh Sridharan

          Issue Links

            Activity

              People

              • Assignee:
                venki09 Venkatesh Sridharan
                Reporter:
                venki09 Venkatesh Sridharan
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: