[ 
https://issues.apache.org/jira/browse/HBASE-22313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Venkatesh Sridharan updated HBASE-22313:
----------------------------------------
    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]
 

  was:
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
 


> Add a method to FsDelegationToken to accept token kind
> ------------------------------------------------------
>
>                 Key: HBASE-22313
>                 URL: https://issues.apache.org/jira/browse/HBASE-22313
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Venkatesh Sridharan
>            Priority: Minor
>
> 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]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to