GitHub user kasjain opened a pull request:

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

    SPARK-5613: Catch the ApplicationNotFoundException exception to avoid 
thread from getting killed on yarn restart.

    [SPARK-5613] Added a  catch block to catch the 
ApplicationNotFoundException. Without this catch block the thread gets killed 
on occurrence of this exception. This Exception occurs when yarn restarts and 
tries to find an application id for a spark job which got interrupted due to 
yarn getting stopped.

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

    $ git pull https://github.com/kasjain/spark branch-1.2

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

    https://github.com/apache/spark/pull/4392.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 #4392
    
----
commit 48310001904ed260296ea98dfbd394b82c185625
Author: Kashish Jain <[email protected]>
Date:   2015-02-05T09:03:17Z

    SPARK-5613: Catch the ApplicationNotFoundException exception to avoid
    thread from getting killed on yarn restart.

----


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