unpersist RDD from another thread

2015-09-16 Thread Paul Weiss
Hi, What is the behavior when calling rdd.unpersist() from a different thread while another thread is using that rdd. Below is a simple case for this: 1) create rdd and load data 2) call rdd.cache() to bring data into memory 3) create another thread and pass rdd for a long computation 4) call

Re: unpersist RDD from another thread

2015-09-16 Thread Paul Weiss
ould fail), but > the performance will be unpredictable (some partition may use cache, some > may not be able to use the cache). > > On Wed, Sep 16, 2015 at 1:06 PM, Paul Weiss <paulweiss@gmail.com> > wrote: > >> Hi, >> >> What is the behavior when calli