mohamadrezarostami commented on a change in pull request #34331:
URL: https://github.com/apache/spark/pull/34331#discussion_r748021561
##########
File path: core/src/main/scala/org/apache/spark/deploy/Client.scala
##########
@@ -190,13 +190,13 @@ private class ClientEndpoint(
logDebug(s"State of driver $submittedDriverID is ${state.get},
" +
s"continue monitoring driver status.")
}
- }
- }
- } else {
+ }
+ }
+ } else if (exception.isEmpty ||
!Utils.responseFromBackup(a.get.getMessage())) {
Review comment:
I am new in Scala. The exception is an Option[Exception]. As I know we
can't call getMessage() directly! Am I right?
e.g. https://scastie.scala-lang.org/Zs5zrPU1SqulmCRthPHDXg
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]