spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devian-ua <...@git.apache.org>
Subject [GitHub] spark pull request #14916: [SPARK-17340][YARN] cleanup .sparkStaging when ap...
Date Thu, 01 Sep 2016 10:43:24 GMT
GitHub user Devian-ua opened a pull request:

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

    [SPARK-17340][YARN] cleanup .sparkStaging when app is killed by yarn

    ## What changes were proposed in this pull request?
    
    Cleanup .sparkStaging directory whenever spark application has exitCode 15/16
    `EXIT_EXCEPTION_USER_CLASS = 15`
    ` EXIT_EARLY = 16`
    
    It happens when you kill spark-submit in terminal and do
    ` $ yarn application -kill <app id>`
    
    ## How was this patch tested?
    
    Existing tests. (./dev/run-tests)
    Also manually verified that application does cleanup when it is killed in such way.
    
    


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

    $ git pull https://github.com/Devian-ua/spark SPARK-17340

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

    https://github.com/apache/spark/pull/14916.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 #14916
    
----
commit 8a1fe82705cd8c5273b051705bdeb1b11168eb9c
Author: Artur Sukhenko <artur.sukhenko@gmail.com>
Date:   2016-08-31T19:50:35Z

    [SPARK-17340][YARN] cleanup .sparkStaging when app is killed by yarn

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message