powered by
Set the directory under which SparkDataFrame are going to be checkpointed. The directory must be an HDFS path if running on a cluster.
setCheckpointDir(directory)
Directory path to checkpoint to
checkpoint
# NOT RUN { setCheckpointDir("/checkpoint") # }
Run the code above in your browser using DataLab