The cache gets cleared out when the job finishes. I am not aware of a way
to keep the cache around between jobs. You could save it as an object file
to disk and load it as an object file on your next job for speed.
On Thu, Nov 5, 2015 at 6:17 PM Deepak Sharma <deepakmc...@gmail.com> wrote:

> Hi All
> I am confused on RDD persistence in cache .
> If I cache RDD , is it going to stay there in memory even if my spark
> program completes execution , which created it.
> If not , how can I guarantee that RDD is persisted in cache even after the
> program finishes execution.
>
> Thanks
>
>
> Deepak
>

Reply via email to