No, I believe unpersist acts immediately.

On Mon, Oct 20, 2014 at 10:13 AM, marylucy <qaz163wsx_...@hotmail.com>
wrote:

> thank you for your reply!
> is unpersist operation lazy?if yes,how to decrease memory size as quickly
> as possible
>
> 在 Oct 20, 2014,21:26,"Nicholas Chammas" <nicholas.cham...@gmail.com> 写道:
>
> I believe it won't show up there until you trigger an action that causes
> the RDD to actually be cached. Remember that certain operations in Spark
> are *lazy*, and caching is one of them.
>
> Nick
>
> On Mon, Oct 20, 2014 at 9:19 AM, marylucy <qaz163wsx_...@hotmail.com>
> wrote:
>
>> in spark-shell,I do in follows
>>     val input = sc.textfile("hdfs://192.168.1.10/people/testinput/")
>>     input.cache()
>>
>> In webui,I cannot see any rdd in storage tab.can anyone tell me how to
>> show rdd size?thank you
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
>> For additional commands, e-mail: user-h...@spark.apache.org
>>
>>
>

Reply via email to