Hi,
Please call "Graph#unpersist" that releases two RDDs, vertex and edge ones.
"Graph#unpersist" just invokes "Graph#unpersistVertices" and
"Graph#edges#unpersist";
"Graph#unpersistVertices" releases memory for vertices and
"Graph#edges#unpersist"
does memory for edges.
If blocking = true,
So in order to not incur any performance issues I should really wait for
all usage of the rdd to complete before calling unpersist, correct?
On Wed, Sep 16, 2015 at 4:08 PM, Tathagata Das
wrote:
> unpredictable. I think it will be safe (as in nothing should fail),
Yes.
On Wed, Sep 16, 2015 at 1:12 PM, Paul Weiss wrote:
> So in order to not incur any performance issues I should really wait for
> all usage of the rdd to complete before calling unpersist, correct?
>
> On Wed, Sep 16, 2015 at 4:08 PM, Tathagata Das <
>
like this?
var temp = ...
for (i - num)
{
temp = ..
{
do something
}
temp.unpersist()
}
Thanks
Best Regards
On Thu, Sep 11, 2014 at 3:26 PM, Deep Pradhan pradhandeep1...@gmail.com
wrote:
I want to create a temporary variables in a spark code.
Can I do this?
for (i - num)
{
After every loop I want the temp variable to cease to exist
On Thu, Sep 11, 2014 at 4:33 PM, Akhil Das ak...@sigmoidanalytics.com
wrote:
like this?
var temp = ...
for (i - num)
{
temp = ..
{
do something
}
temp.unpersist()
}
Thanks
Best Regards
On Thu, Sep 11, 2014