spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Giridharan <ashwin.fo...@gmail.com>
Subject Re: Question about MEOMORY_AND_DISK persistence
Date Mon, 29 Feb 2016 01:19:56 GMT
Hi Vishnu,

A partition will either be in memory or in disk.

-Ashwin
On Feb 28, 2016 15:09, "Vishnu Viswanath" <vishnu.viswanath25@gmail.com>
wrote:

> Hi All,
>
> I have a question regarding Persistence (MEMORY_AND_DISK)
>
> Suppose I am trying to persist an RDD which has 2 partitions and only 1
> partition can be fit in memory completely but some part of partition 2 can
> also be fit, will spark keep the portion of partition 2 in memory and rest
> in disk, or will the whole 2nd partition be kept in disk.
>
> Regards,
> Vishnu
>

Mime
View raw message