You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/08 17:51:47 UTC
[GitHub] [spark] imback82 commented on a change in pull request #30617: [SPARK-33669] Wrong error message from YARN application state monitor when sc.stop in yarn client mode
imback82 commented on a change in pull request #30617:
URL: https://github.com/apache/spark/pull/30617#discussion_r538659438
##########
File path: resource-managers/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala
##########
@@ -121,7 +123,8 @@ private[spark] class YarnClientSchedulerBackend(
allowInterrupt = false
sc.stop()
} catch {
- case e: InterruptedException => logInfo("Interrupting monitor thread")
+ case _: InterruptedException | _: InterruptedIOException
+ => logInfo("Interrupting monitor thread")
Review comment:
I believe @mridulm meant:
```
case _: InterruptedException | _: InterruptedIOException =>
logInfo("Interrupting monitor thread")
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org