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

    https://github.com/apache/spark/pull/21758#discussion_r202856212
  
    --- Diff: core/src/main/scala/org/apache/spark/scheduler/WorkerOffer.scala 
---
    @@ -21,4 +21,8 @@ package org.apache.spark.scheduler
      * Represents free resources available on an executor.
      */
     private[spark]
    -case class WorkerOffer(executorId: String, host: String, cores: Int)
    +case class WorkerOffer(
    +    executorId: String,
    +    host: String,
    +    cores: Int,
    +    address: Option[String] = None)
    --- End diff --
    
    What is the difference between host and address? It is useful to mention it 
in the doc.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to