Github user albertostratio commented on the pull request:
https://github.com/apache/spark/pull/7993#issuecomment-129795276
I've been tracing the error and the execution goes to the
tryRegisterAllMasters method in the AppClient class, at this point the catch
for InterruptedException does nothing and then the exception is being caught by
the SparkUncaughtExceptionHandler.
See following the catch block I'm talking about in tryRegisterAllMasters:
```
catch {
case ie: InterruptedException => // Cancelled
case NonFatal(e) => logWarning(s"Failed to connect to master
$masterAddress", e)
}
```
I guess we should handle the exception at this point, not sure how to do it
though.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]