Skip to content

Commit d246840

Browse files
committed
add comment
1 parent 58add67 commit d246840

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/scala/org/apache/spark/deploy/DeployMessage.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ private[deploy] object DeployMessages {
187187
Utils.checkHostPort(hostPort)
188188
}
189189

190+
// When the host of Worker is lost or decommissioned, the `workerHost` is the host address
191+
// of that Worker. Otherwise, it's None.
190192
case class ExecutorUpdated(id: Int, state: ExecutorState, message: Option[String],
191193
exitStatus: Option[Int], workerHost: Option[String])
192194

0 commit comments

Comments
 (0)