Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3289

Commonize token selectors with fallback behavior

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • hdfs-client, security
    • 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

          Activity

            People

              Unassigned Unassigned
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: