littlelittlewhite09 commented on code in PR #45667:
URL: https://github.com/apache/spark/pull/45667#discussion_r1536671930
##########
core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala:
##########
@@ -983,11 +984,19 @@ private[spark] class SparkSubmit extends Logging {
e
}
+ var DriverPodIsNormal: Boolean = if (args.master.startsWith("k8s")) true
else false
+ var driverThrow: Throwable = null
try {
app.start(childArgs.toArray, sparkConf)
} catch {
case t: Throwable =>
- throw findCause(t)
+ logWarning("Some ERR/Exception happened when app is running.")
+ if (args.master.startsWith("k8s")) {
Review Comment:
Yes, `DriverPodIsNormal` applied here may be better.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]