[ https://issues.apache.org/jira/browse/SPARK-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192908#comment-15192908 ]
Apache Spark commented on SPARK-13852: -------------------------------------- User 'WangTaoTheTonic' has created a pull request for this issue: https://github.com/apache/spark/pull/11692 > handle the InterruptedException caused by YARN HA switch > --------------------------------------------------------- > > Key: SPARK-13852 > URL: https://issues.apache.org/jira/browse/SPARK-13852 > Project: Spark > Issue Type: Bug > Components: YARN > Affects Versions: 1.6.0, 1.6.1 > Reporter: Tao Wang > Priority: Minor > > when sc stops, it will interrupt thread using to monitor app status. > the thread will throw an InterruptedException if YARN is switch as there is a > sleep method in retry logic. > If YARN is switch between active and standby, sc.stop will return > YarnApplicationState.FAILED as the InterruptedException is not caught. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org