spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph E. Gonzalez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-1786) Kryo Serialization Error in GraphX
Date Sat, 10 May 2014 22:03:34 GMT
Joseph E. Gonzalez created SPARK-1786:
-----------------------------------------

             Summary: Kryo Serialization Error in GraphX
                 Key: SPARK-1786
                 URL: https://issues.apache.org/jira/browse/SPARK-1786
             Project: Spark
          Issue Type: Bug
          Components: GraphX
    Affects Versions: 1.0.0
            Reporter: Joseph E. Gonzalez


The following code block will generate a serialization error when run in the spark-shell with
Kryo enabled:

import org.apache.spark.storage._
import org.apache.spark.graphx._
import org.apache.spark.graphx.util._

val g = GraphGenerators.gridGraph(sc, 100, 100)
val e = g.edges
e.persist(StorageLevel.MEMORY_ONLY_SER)
e.collect().foreach(println(_))
e.collect().foreach(println(_))




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message