GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/16432
[SPARK-19021][YARN] Generailize HDFSCredentialProvider to support non HDFS
security filesystems
Change-Id: I85d7963c4980cf9660f495f377ba27227da4b1b1
Currently Spark can only get token renewal interval from security HDFS
(hdfs://), if Spark runs with other security file systems like webHDFS
(webhdfs://), wasb (wasb://), ADLS, it will ignore these tokens and not get
token renewal intervals from these tokens. These will make Spark unable to work
with these security clusters. So instead of only checking HDFS token, we should
generalize to support different DelegationTokenIdentifier.
## How was this patch tested?
Manually verified in security cluster.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-19021
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16432.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16432
----
commit 0c1ec23626b74544e456778262030cee1c623b30
Author: jerryshao <[email protected]>
Date: 2016-12-29T07:30:19Z
Generailize HDFSCredentialProvider to support non HDFS security FS
Change-Id: I85d7963c4980cf9660f495f377ba27227da4b1b1
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]