Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.0-alpha
-
None
-
None
Description
WebHdfsDelegationTokenSelector and HftpDelegationTokenSelector are essentially the same. They could be refactored to a new class in org.apache.hadoop.hdfs.security.token.delegation (or an inner class in DelegationTokenSelector) and then pass TOKEN_KIND in the constructor. The selector should look for the given kind, and if not found, fallback to looking for the hdfs/rpc token.
Attachments
Issue Links
- relates to
-
HDFS-2652 Port token service changes from 205
- Closed