timothy65535 edited a comment on pull request #1119:
URL: https://github.com/apache/incubator-kyuubi/pull/1119#issuecomment-925633288
In fact, the yarn client already support kill the application by
`LauncherProtocol` mechanism. We will not to kill application by shell script
or yarn rest api.
cc @simon824 @pan3793 @yaooqinn
```
----------------------- -----------------------
| User App | spark-submit | Spark App |
| | -------------------> | |
| ------------| |------------- |
| | | hello | | |
| | L. Server |<--------------------> | L. Backend | |
| | | | | |
| ------------- -----------------------
| | | ^
| v | |
| -------------| |
| | | <per-app channel> |
| | App Handle |<------------------------------
| | | stop / kill
-----------------------
```
**REFER TO**:
https://github.com/apache/spark/blob/9d8ac7c8e90c1c2a6060e8f1e8f2f21e19622567/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala#L137-L145
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]