[ 
https://issues.apache.org/jira/browse/SPARK-36832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-36832:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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: Major
>              Labels: pull-request-available
>
> 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.20.10#820010)

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

Reply via email to