Uploaded image for project: 'Apache Gobblin'
  1. Apache Gobblin
  2. GOBBLIN-1286

Support fetching multiple DFS tokens for HDFS Federation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.15.0
    • 0.17.0
    • misc
    • None

    Description

      Currently org.apache.gobblin.util.hadoop.TokenUtils#getHdfsToken adds the DistributedFileSystem's delegation token to the Credential's object. However, if the DFS is federated, then only one token for the primary name node is fetched and tokens for child namenodes are not fetched.

      Hence this method needs to be updated to use org.apache.hadoop.fs.FileSystem#addDelegationTokens instead of org.apache.hadoop.fs.FileSystem#getDelegationTokens which automatically fetches the delegation tokens for all child FS as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sandy143651 Sandeep Devaiah
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m