Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/22623
  
    Looking at the 2.3 code, it might be the right thing to just remove the 
handler for `SparkException` in `SparkSubmit.main`, and let it propagate.
    
    ```
        try {
          mainMethod.invoke(null, childArgs.toArray)
        } catch {
          case t: Throwable =>
            findCause(t) match {
              case SparkUserAppException(exitCode) =>
                System.exit(exitCode)
    
              case t: Throwable =>
                throw t
            }
        }
    ```


---

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

Reply via email to