Hi All - I'm having an issue with detecting a failed Spark application state when using the startApplication method and SparkAppHandle with the SparkLauncher in Spark 2.0.1.
Previous I had used a Java Process to waitFor it to return an non-zero exit code to detect failure which worked. But when the same app fails with a non-zero exit code, the SparkAppHandle (final) State returned is FINISHED, not FAILED. Which is the same result when the process/app exits with a 0 exit code. Has anyone else experience or solved this issue? Thanks, Adam
