Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5116#discussion_r28473045
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/rest/StandaloneRestClient.scala ---
    @@ -52,10 +53,17 @@ import org.apache.spark.util.Utils
      * is a mismatch, the server will respond with the highest protocol 
version it supports. A future
      * implementation of this client can use that information to retry using 
the version specified
      * by the server.
    + *
    + * Now we don't support retry in case submission failed. In HA mode, 
client will submit request to
    + * all masters and see which one could handle it.
      */
    -private[deploy] class StandaloneRestClient extends Logging {
    +private[deploy] class StandaloneRestClient(master: String) extends Logging 
{
       import StandaloneRestClient._
     
    +  private val masters: Array[String] = Utils.splitMasterAdress(master)
    +
    +  private val lostMasters = new mutable.HashSet[String]
    --- End diff --
    
    ```
    // Set of masters that lost contact with us, used to keep track of
    // whether there are masters still alive for us to communicate with
    ```


---
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]

Reply via email to