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

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

> k8s submit failed should keep same exit code with user code
> -----------------------------------------------------------
>
>                 Key: SPARK-54774
>                 URL: https://issues.apache.org/jira/browse/SPARK-54774
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, Spark Docker
>    Affects Versions: 4.1.0
>            Reporter: angerszhu
>            Priority: Major
>              Labels: pull-request-available
>
> {code:java}
> if (SparkMasterRegex.isK8s(args.master) && !isShell(args.primaryResource) &&
>     !isSqlShell(args.mainClass) && !isThriftServer(args.mainClass) &&
>     !isConnectServer(args.mainClass)) {
>   try {
>     SparkContext.getActive.foreach(_.stop())
>   } catch {
>     case e: Throwable => logError("Failed to close SparkContext", e)
>   }
> } {code}
>  here should pass exit code here.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to