GitHub user harishreedharan opened a pull request:

    https://github.com/apache/spark/pull/9875

    [SPARK-11662] [YARN]. In Client mode, make sure we re-login before at…

    …tempting to create new delegation tokens if a new SparkContext is 
created within the same application.
    
    Since Hadoop gives precedence to the delegation tokens, we must make sure 
we login as a different user, get new tokens and replace the old ones in the 
current user's credentials cache to avoid not being able to get new ones.
    
    /cc @tedyu @tgravescs

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/harishreedharan/spark 
keytab-relogin-restarted-context

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/9875.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 #9875
    
----
commit 70f610f855c3fd2b3ea9b0a44f6015162f555f87
Author: Hari Shreedharan <[email protected]>
Date:   2015-11-20T23:42:01Z

    [SPARK-11662] [YARN]. In Client mode, make sure we re-login before 
attempting to create new delegation tokens if a new SparkContext is created 
within the same application.
    
    Since Hadoop gives precedence to the delegation tokens, we must make sure 
we login as a different user, get new tokens and replace the old ones in the 
current user's credentials cache to avoid not being able to get new ones.

----


---
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]

Reply via email to