Uh oh!
There was an error while loading. Please reload this page.
[SPARK-20741][Spark Submit] Added cleanup of JARs archive generated by SparkSubmit - #17986
[SPARK-20741][Spark Submit] Added cleanup of JARs archive generated by SparkSubmit#17986liorregev wants to merge 1 commit into
Conversation
srowen
commented
May 15, 2017
That seems OK to me. It might be a good time to address similar issues elsewhere. For instance, look at |
vanzin
commented
May 15, 2017
I don't think this is really necessary. These files are created in If you really want to fix this instance, it may be better to follow Sean's suggestion and fix all instances, creating an explicit temporary directory where the files are stored. All this is going to do, though, is to delete the files earlier - they'd still be deleted when the process exits. |
Actually I ran into a problem with this not getting cleaned up. |
vanzin
commented
May 15, 2017
It might be a good idea to do it, but then you can't just add this one line, you have to look at all the temp files that Client.scala generates. |
srowen
commented
May 19, 2017
@liorregev if you'll take care of a couple other cases like this here, it looks OK to merge. Proactively cleaning up seems reasonable. |
SparkQA
commented
May 23, 2017
Test build #3751 has finished for PR 17986 at commit
|
SparkQA
commented
May 24, 2017
Test build #3753 has finished for PR 17986 at commit
|
srowen
commented
May 25, 2017
Merged to master/2.2. It's a win and on second look it wasn't obvious that there's another instance of this that can safely be cleaned up. |
…y SparkSubmit ## What changes were proposed in this pull request? Deleted generated JARs archive after distribution to HDFS ## How was this patch tested? Please review http://spark.apache.org/contributing.html before opening a pull request. Author: Lior Regev <lioregev@gmail.com> Closes#17986 from liorregev/master. (cherry picked from commit 7306d55) Signed-off-by: Sean Owen <sowen@cloudera.com>
What changes were proposed in this pull request?
Deleted generated JARs archive after distribution to HDFS
How was this patch tested?
Please review http://spark.apache.org/contributing.html before opening a pull request.