Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/5116#discussion_r28473217
--- Diff:
core/src/main/scala/org/apache/spark/deploy/rest/StandaloneRestClient.scala ---
@@ -293,6 +355,17 @@ private[deploy] class StandaloneRestClient extends
Logging {
private def handleUnexpectedRestResponse(unexpected:
SubmitRestProtocolResponse): Unit = {
logError(s"Error: Server responded with message of unexpected type
${unexpected.messageType}.")
}
+
+ /**
+ * When a connection exception was caught, we see whether all masters
are lost.
--- End diff --
```
/**
* When a connection exception is caught, return true if all masters are
lost.
* Note that the heuristic used here does not take into account that masters
* can recover during the lifetime of this client. This assumption should be
* harmless because this client currently does not support retrying
submission
* on failure yet (SPARK-6443).
*/
```
---
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]