You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2016/04/06 04:58:25 UTC

[jira] [Resolved] (SPARK-13211) StreamingContext throws NoSuchElementException when created from non-existent checkpoint directory

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

Shixiong Zhu resolved SPARK-13211.
----------------------------------
       Resolution: Fixed
         Assignee: Sean Owen
    Fix Version/s: 2.0.0

> StreamingContext throws NoSuchElementException when created from non-existent checkpoint directory
> --------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-13211
>                 URL: https://issues.apache.org/jira/browse/SPARK-13211
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 2.0.0
>            Reporter: Jacek Laskowski
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> {code}
> scala> new StreamingContext("_checkpoint")
> 16/02/05 08:51:10 INFO Checkpoint: Checkpoint directory _checkpoint does not exist
> java.util.NoSuchElementException: None.get
>   at scala.None$.get(Option.scala:347)
>   at scala.None$.get(Option.scala:345)
>   at org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:108)
>   at org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:114)
>   ... 43 elided
> {code}



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