Uh oh!
There was an error while loading. Please reload this page.
[SPARK-21655][YARN] Support Kill CLI for Yarn mode - #18897
Conversation
jiangxb1987
commented
Aug 10, 2017
@jerryshao Could you review this PR? Thanks! |
tgravescs
commented
Aug 10, 2017
ok to test |
SparkQA
commented
Aug 10, 2017
Test build #80491 has finished for PR 18897 at commit
|
vanzin
commented
Aug 10, 2017
That's not true; that works just like "yarn kill". This is the code that does it in This change seems also way more about creating some communication channel between arbitrary clients and the Spark AM. I'd like to see the bug and the PR explain that in way more detail, since the "kill" implementation doesn't really seem to be the meat of this change. |
tgravescs
commented
Aug 10, 2017
I think the kill is to more cleanly shutdown on the yarn side of things. If you yarn kill an application on yarn it doesn't set the history appropriately, etc. Its also just nice to have one spot to go to do things, similar to mapred, pig, oozie, type commands. I think we can definitely split this up into 2 prs, one for the rpc layer changes (which requires some lower level changes due to authentication with tokens) and then one for the kill command itself, does that sounds good @vanzin? |
vanzin
commented
Aug 10, 2017
Yes, I'd really like a more thorough explanation of the RPC changes. Once that's sorted out, adding something like a "kill" command should be trivial. |
SparkQA
commented
Aug 10, 2017
Test build #80494 has finished for PR 18897 at commit
|
SparkQA
commented
Aug 10, 2017
Test build #80496 has finished for PR 18897 at commit
|
jerryshao
commented
Aug 11, 2017
I think this RPC layer could also serve for SPARK-19143. |
tgravescs
commented
Aug 16, 2017
rpc layer split off into https://issues.apache.org/jira/browse/SPARK-21737 |
vanzin
commented
Sep 15, 2017
Can we close this PR until #18978 is figured out? |
Closesapache#13794Closesapache#18474Closesapache#18897Closesapache#18978Closesapache#19152Closesapache#19238Closesapache#19295Closesapache#19334Closesapache#19335Closesapache#19347Closesapache#19236Closesapache#19244Closesapache#19300Closesapache#19315Closesapache#19356Closesapache#15009Closesapache#18253 Author: hyukjinkwon <gurwls223@gmail.com> Closesapache#19348 from HyukjinKwon/stale-prs.
What changes were proposed in this pull request?
Similar to how standalone and Mesos have the capability to safely shut down the spark application, there should be a way to safely shut down spark on Yarn mode. This will ensure a clean shutdown and unregistration from yarn.
This PR adds YARN support for
--kill SUBMISSION_IDCLIHow was this patch tested?
Tested by running a word count job and killing it via the kill CLI.
- no view, modify ACL
- only view ACL
- only modify ACL
- both view, modify ACL