Github user devaraj-kavali commented on the issue: https://github.com/apache/spark/pull/13143 MesosDriver doesn't throw any exception, it just returns with the value as Status.DRIVER_ABORTED. ``` registerLatch.await() // propagate any error to the calling thread. This ensures that SparkContext creation fails // without leaving a broken context that won't be able to schedule any tasks error.foreach(throw _) This code handles exceptions and throws if it gets Status.DRIVER_ABORTED during registration, once the registration completes there is no code to handle and will be skipped the status and also thread dies.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org