Uh oh!
There was an error while loading. Please reload this page.
[SPARK-4236] Cleanup removed applications' files in shuffle service - #3126
[SPARK-4236] Cleanup removed applications' files in shuffle service#3126aarondav wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
The following 32 lines are the only material change in this entire PR. The rest is utility functions imported from core Utils, Java cruft around lambdas and classes, and updating/adding tests.
SparkQA
commented
Nov 6, 2014
Test build #22972 has started for PR 3126 at commit
|
SparkQA
commented
Nov 6, 2014
Test build #22973 has started for PR 3126 at commit
|
aarondav
commented
Nov 6, 2014
@andrewor14@rxin PTAL. For the YARN auxiliary service, I think it is sufficient just to just call |
SparkQA
commented
Nov 6, 2014
Test build #22972 has finished for PR 3126 at commit
|
AmplabJenkins
commented
Nov 6, 2014
Test PASSed. |
SparkQA
commented
Nov 6, 2014
Test build #22973 has finished for PR 3126 at commit
|
AmplabJenkins
commented
Nov 6, 2014
Test PASSed. |
andrewor14
commented
Nov 6, 2014
Hey was this already merged? I don't see it showing up on ASF. |
aarondav
commented
Nov 6, 2014
Whoops, accidentally deleted it locally. |
SparkQA
commented
Nov 6, 2014
Test build #23015 has started for PR 3126 at commit
|
There was a problem hiding this comment.
can you just do cleanupLocalDirs = false? Or can we not because this is a Java method even though we're using it in Scala
There was a problem hiding this comment.
Right, not possible if the method is written in Java, unfortunately.
SparkQA
commented
Nov 6, 2014
Test build #23015 has finished for PR 3126 at commit
|
AmplabJenkins
commented
Nov 6, 2014
Test PASSed. |
aarondav
commented
Nov 6, 2014
Comments addressed. |
SparkQA
commented
Nov 6, 2014
Test build #23026 has started for PR 3126 at commit
|
SparkQA
commented
Nov 7, 2014
Test build #23026 has finished for PR 3126 at commit
|
AmplabJenkins
commented
Nov 7, 2014
Test PASSed. |
andrewor14
commented
Nov 7, 2014
LGTM. Hey by the way is there anything we need to change about the way Also I think this conflicts with your other patch which I just merged. |
This relies on a hook from whoever is hosting the shuffle service to invoke removeApplication() when the application is completed. Once invoked, we will clean up all the executors' shuffle directories we know about.
aarondav
commented
Nov 7, 2014
It was you -- JavaUtils changed. Updated. |
SparkQA
commented
Nov 7, 2014
Test build #23032 has started for PR 3126 at commit
|
andrewor14
commented
Nov 7, 2014
Weird, we both only added code to JavaUtils. I would think that it doesn't need to conflict there. |
SparkQA
commented
Nov 7, 2014
Test build #23032 has finished for PR 3126 at commit
|
AmplabJenkins
commented
Nov 7, 2014
Test PASSed. |
andrewor14
commented
Nov 7, 2014
Ok merging into master and 1.2 |
This relies on a hook from whoever is hosting the shuffle service to invoke removeApplication() when the application is completed. Once invoked, we will clean up all the executors' shuffle directories we know about. Author: Aaron Davidson <aaron@databricks.com> Closes#3126 from aarondav/cleanup and squashes the following commits: 33a64a9 [Aaron Davidson] Missing brace e6e428f [Aaron Davidson] Address comments 16a0d27 [Aaron Davidson] Cleanup e4df3e7 [Aaron Davidson] [SPARK-4236] Cleanup removed applications' files in shuffle service (cherry picked from commit 48a19a6) Signed-off-by: Andrew Or <andrew@databricks.com>
This relies on a hook from whoever is hosting the shuffle service to invoke removeApplication() when the application is completed. Once invoked, we will clean up all the executors' shuffle directories we know about.