Skip to content

Commit 83b321c

Browse files
author
Andrew Or
committed
Tweak wording
The Master may not necessarily be dead, as it may have recovered.
1 parent 1fce6a9 commit 83b321c

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/scala/org/apache/spark/deploy/worker

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private[spark] class Worker(
201201
* (4) Meanwhile, Worker's previous reconnection attempt reaches Master B,
202202
* causing the same Worker to register with Master B twice
203203
*
204-
* Instead, if we only register with the known active master, which must be dead because
204+
* Instead, if we only register with the known active master, which must have died because
205205
* another master has taken over, then we can avoid registering with the same master twice.
206206
*/
207207
private def reregisterWithActiveMaster(): Unit = {

0 commit comments

Comments
 (0)