[
https://issues.apache.org/jira/browse/SPARK-13211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215937#comment-15215937
]
Apache Spark commented on SPARK-13211:
--------------------------------------
User 'lw-lin' has created a pull request for this issue:
https://github.com/apache/spark/pull/12035
> 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]