[
https://issues.apache.org/jira/browse/SPARK-10091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stanislav Los closed SPARK-10091.
---------------------------------
Resolution: Duplicate
> PySpark Streaming doesn't support Context recovery from checkpoint in HDFS
> --------------------------------------------------------------------------
>
> Key: SPARK-10091
> URL: https://issues.apache.org/jira/browse/SPARK-10091
> Project: Spark
> Issue Type: Bug
> Components: PySpark, Streaming
> Affects Versions: 1.3.0, 1.3.1, 1.4.0, 1.4.1
> Reporter: Stanislav Los
>
> Apparently, PySpark Streaming application can't recover from a checkpoint
> that was stored in HDFS. Method StreamingContext.getOrCreate looks for an
> existing checkpoint at local file system only.
> {code:title=pyspark.streaming.StreamingContext.getOrCreate()}
> if not os.path.exists(checkpointPath) or not os.listdir(checkpointPath):
> ssc = setupFunc()
> ssc.checkpoint(checkpointPath)
> return ssc
> {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]