[
https://issues.apache.org/jira/browse/SPARK-52564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-52564:
-----------------------------------
Labels: pull-request-available (was: )
> configuration changes not require deleting the checkpoint
> ---------------------------------------------------------
>
> Key: SPARK-52564
> URL: https://issues.apache.org/jira/browse/SPARK-52564
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 3.2.4, 3.3.4, 3.4.4, 3.5.6, 4.0.0
> Reporter: sohurdc
> Priority: Major
> Labels: pull-request-available
>
> Once checkpointing is enabled in Spark Streaming, configuration changes
> require deleting the checkpoint, which results in loss of state.
> code like this:
> // Get StreamingContext from checkpoint data or create a new one
> {{val context = StreamingContext.getOrCreate(checkpointDirectory,
> functionToCreateContext _)}}
> {{...}}
> {{context.start()}}
> {{context.awaitTermination()}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]