[ 
https://issues.apache.org/jira/browse/SPARK-8393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-8393.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 12418
[https://github.com/apache/spark/pull/12418]

> JavaStreamingContext#awaitTermination() throws non-declared 
> InterruptedException
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-8393
>                 URL: https://issues.apache.org/jira/browse/SPARK-8393
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.3.1
>            Reporter: Jaromir Vanek
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Call to {{JavaStreamingContext#awaitTermination()}} can throw 
> {{InterruptedException}} which cannot be caught easily in Java because it's 
> not declared in {{@throws(classOf[InterruptedException])}} annotation.
> This {{InterruptedException}} comes originally from {{ContextWaiter}} where 
> Java {{ReentrantLock}} is used.



--
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

Reply via email to