You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "timothy65535 (Jira)" <ji...@apache.org> on 2021/09/23 12:27:00 UTC

[jira] [Commented] (SPARK-36832) Add LauncherProtocol to K8s resource manager client

    [ https://issues.apache.org/jira/browse/SPARK-36832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419167#comment-17419167 ] 

timothy65535 commented on SPARK-36832:
--------------------------------------

Feel free to take this Jira :)

> Add LauncherProtocol to K8s resource manager client
> ---------------------------------------------------
>
>                 Key: SPARK-36832
>                 URL: https://issues.apache.org/jira/browse/SPARK-36832
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Submit
>    Affects Versions: 3.1.2
>            Reporter: timothy65535
>            Priority: Critical
>
> Refer to: org.apache.spark.deploy.yarn.Client
> {code:java}
> private val launcherBackend = new LauncherBackend() {
>   override protected def conf: SparkConf = sparkConf  override def onStopRequest(): Unit = {
>     if (isClusterMode && appId != null) {
>       yarnClient.killApplication(appId)
>     } else {
>       setState(SparkAppHandle.State.KILLED)
>       stop()
>     }
>   }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org