Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/21849#discussion_r210121238 --- Diff: launcher/src/main/java/org/apache/spark/launcher/InProcessAppHandle.java --- @@ -63,6 +71,7 @@ synchronized void start(String appName, Method main, String[] args) { main.invoke(null, (Object) args); } catch (Throwable t) { LOG.log(Level.WARNING, "Application failed with exception.", t); + error = t; --- End diff -- Might be good to special-case `InvocationTargetException` and avoid one level of wrapping which is probably not useful to anyone.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org