GitHub user SaintBacchus opened a pull request:
https://github.com/apache/spark/pull/8867
[SPARK-10755][YARN]Set driver also update the token for long-running
application
In the yarn-client mode, driver will write the event logs into hdfs and get
the partition information from hdfs, so it's nessary to update the token from
the `AMDelegationTokenRenewer`.
In the yarn-cluster mode, driver is company with AM and token will update
by AM. But it's still better to update the token for client process since the
client wants to delete the staging dir with a expired token.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SaintBacchus/spark SPARK-10755
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8867.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 #8867
----
commit 00fd0bc4cd2d6b31ba197629fbe1e9e07a2497bc
Author: huangzhaowei <[email protected]>
Date: 2015-09-22T11:00:47Z
[SPARK_10755][YARN]Set driver also update the token for long-running
application.
----
---
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]