spark-instrumented-optimizer/yarn
Kousuke Saruta c64ff8036c [SPARK-7503] [YARN] Resources in .sparkStaging directory can't be cleaned up on error
When we run applications on YARN with cluster mode, uploaded resources on .sparkStaging directory can't be cleaned up in case of failure of uploading local resources.

You can see this issue by running following command.
```
bin/spark-submit --master yarn --deploy-mode cluster --class <someClassName> <non-existing-jar>
```

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #6026 from sarutak/delete-uploaded-resources-on-error and squashes the following commits:

caef9f4 [Kousuke Saruta] Fixed style
882f921 [Kousuke Saruta] Wrapped Client#submitApplication with try/catch blocks in order to delete resources on error
1786ca4 [Kousuke Saruta] Merge branch 'master' of https://github.com/apache/spark into delete-uploaded-resources-on-error
f61071b [Kousuke Saruta] Fixed cleanup problem
2015-05-15 11:37:34 +01:00
..
src [SPARK-7503] [YARN] Resources in .sparkStaging directory can't be cleaned up on error 2015-05-15 11:37:34 +01:00
pom.xml [SPARK-7249] Updated Hadoop dependencies due to inconsistency in the versions 2015-05-14 15:22:58 +01:00