spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tien-Dung LE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-9109) Unpersist a graph object does not work properly
Date Thu, 16 Jul 2015 15:46:04 GMT

     [ https://issues.apache.org/jira/browse/SPARK-9109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tien-Dung LE updated SPARK-9109:
--------------------------------
    Description: 
Unpersist a graph object does not work properly.

Here is the code to produce 

{code}
import org.apache.spark.graphx._
import org.apache.spark.rdd.RDD
import org.slf4j.LoggerFactory
import org.apache.spark.graphx.util.GraphGenerators

val graph: Graph[Long, Long] =
  GraphGenerators.logNormalGraph(sc, numVertices = 100).mapVertices( (id, _) => id.toLong
).mapEdges( e => e.attr.toLong)
  
graph.cache().numEdges
graph.unpersist()
{code}

There should not be any cached RDDs in storage (http://localhost:4040/storage/).

  was:
Unpersist a graph object does not work properly.

Here is the code to produce 

<code>
import org.apache.spark.graphx._
import org.apache.spark.rdd.RDD
import org.slf4j.LoggerFactory
import org.apache.spark.graphx.util.GraphGenerators

val graph: Graph[Long, Long] =
  GraphGenerators.logNormalGraph(sc, numVertices = 100).mapVertices( (id, _) => id.toLong
).mapEdges( e => e.attr.toLong)
  
graph.cache().numEdges
graph.unpersist()
</code>

There should not be any cached RDDs in storage (http://localhost:4040/storage/).


> Unpersist a graph object does not work properly
> -----------------------------------------------
>
>                 Key: SPARK-9109
>                 URL: https://issues.apache.org/jira/browse/SPARK-9109
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Tien-Dung LE
>
> Unpersist a graph object does not work properly.
> Here is the code to produce 
> {code}
> import org.apache.spark.graphx._
> import org.apache.spark.rdd.RDD
> import org.slf4j.LoggerFactory
> import org.apache.spark.graphx.util.GraphGenerators
> val graph: Graph[Long, Long] =
>   GraphGenerators.logNormalGraph(sc, numVertices = 100).mapVertices( (id, _) => id.toLong
).mapEdges( e => e.attr.toLong)
>   
> graph.cache().numEdges
> graph.unpersist()
> {code}
> There should not be any cached RDDs in storage (http://localhost:4040/storage/).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message