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.