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

Hyukjin Kwon updated SPARK-36832:
---------------------------------
    Priority: Major  (was: Critical)

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to