You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph E. Gonzalez (JIRA)" <ji...@apache.org> on 2014/05/11 00:03:34 UTC

[jira] [Created] (SPARK-1786) Kryo Serialization Error in GraphX

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)