[
https://issues.apache.org/jira/browse/SPARK-13211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213705#comment-15213705
]
Liwei Lin commented on SPARK-13211:
-----------------------------------
hi [~jlaskowski], thanks for reporting & working on this.
Since it's you who first reports this, it's respected that you can always make
a PR for this first. But if there's any chance you decide not to work on this,
please let me know and I'd love to have a try on this. Thanks!
> 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
> Priority: Minor
>
> {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: [email protected]
For additional commands, e-mail: [email protected]