Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[SPARK-37060][CORE] Handle driver status response from backup masters
  • Loading branch information
testsgmr committed Dec 15, 2021
commit d315087ea5b10d20d9feac67da1e1690fc05f86c
10 changes: 6 additions & 4 deletions core/src/main/scala/org/apache/spark/deploy/Client.scala
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,15 @@ private class ClientEndpoint(
logDebug(s"State of driver $submittedDriverID is ${state.get}, " +
s"continue monitoring driver status.")
}
}
}
} else {
}
}
} else if (exception.exists(e => Utils.responseFromBackup(e.getMessage))) {
logDebug(s"The status response is reported from a backup spark instance. So, ignored.")
} else {
logError(s"ERROR: Cluster master did not recognize $submittedDriverID")
System.exit(-1)
}
}
}
override def receive: PartialFunction[Any, Unit] = {

case SubmitDriverResponse(master, success, driverId, message) =>
Expand Down