You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tao Wang (JIRA)" <ji...@apache.org> on 2016/03/14 08:02:33 UTC

[jira] [Created] (SPARK-13852) handle the InterruptedException caused by YARN HA switch

Tao Wang created SPARK-13852:
--------------------------------

             Summary: 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.1, 1.6.0
            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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org