spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nasrulla Khan Haris <>
Subject RE: RDD object Out of scope.
Date Tue, 21 May 2019 17:07:04 GMT
Thanks for reply Wenchen, I am curious as what happens when RDD goes out of scope when it is
not cached.


From: Wenchen Fan <>
Sent: Tuesday, May 21, 2019 6:28 AM
To: Nasrulla Khan Haris <>
Subject: Re: RDD object Out of scope.

RDD is kind of a pointer to the actual data. Unless it's cached, we don't need to clean up
the RDD.

On Tue, May 21, 2019 at 1:48 PM Nasrulla Khan Haris <<>>
HI Spark developers,

Can someone point out the code where RDD objects go out of scope ?. I found the contextcleaner<>
code in which only persisted RDDs are cleaned up in regular intervals if the RDD is registered
to cleanup. I have not found where the destructor for RDD object is invoked. I am trying to
understand when RDD cleanup happens when the RDD is not persisted.

Thanks in advance, appreciate your help.

View raw message