pan3793 commented on PR #52770: URL: https://github.com/apache/spark/pull/52770#issuecomment-3459420459
the logging is introduced by SPARK-53620 (https://github.com/apache/spark/pull/52367), seems we should not print the stacktrace of `SparkUserAppException` itself but the carried one one possible alternative, this should also benefit PySpark, SparkR cases ```patch object SparkSubmit extends CommandLineUtils with Logging { ... override def doSubmit(args: Array[String]): Unit = { try { super.doSubmit(args) } catch { case e: SparkUserAppException => - exitFn(e.exitCode, Some(e)) + exitFn(e.exitCode, Option(e.getCause)) } } ... } ``` -- 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]
