sryza commented on code in PR #52770:
URL: https://github.com/apache/spark/pull/52770#discussion_r2475529123
##########
core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala:
##########
@@ -1166,7 +1166,7 @@ object SparkSubmit extends CommandLineUtils with Logging {
super.doSubmit(args)
} catch {
case e: SparkUserAppException =>
- exitFn(e.exitCode, Some(e))
+ exitFn(e.exitCode, Option(e.getCause))
Review Comment:
In that case, nothing will get printed out, which is the expected behavior
(and what I observed when I ran it).
--
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]