You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Function to create and setup a new StreamingContext
def functionToCreateContext():
sc = SparkContext(...) # new context
ssc = StreamingContext(...)
lines = ssc.socketTextStream(...) # create DStreams
...
ssc.checkpoint(checkpointDirectory) # set checkpoint directory
return ssc
# Get StreamingContext from checkpoint data or create a new one
context = StreamingContext.getOrCreate(checkpointDirectory, functionToCreateContext)
the checkpoint directory can be on DBFS mountpoint or a storage account.
Is there an existing issue for this?
Problem statement
in
the checkpoint directory can be on DBFS mountpoint or a storage account.
Proposed Solution
raise alert
Additional Context
Related issues:
The text was updated successfully, but these errors were encountered: