zhengruifeng created SPARK-27656:
------------------------------------

             Summary: Safely register class for GraphX
                 Key: SPARK-27656
                 URL: https://issues.apache.org/jira/browse/SPARK-27656
             Project: Spark
          Issue Type: Improvement
          Components: GraphX
    Affects Versions: 2.4.3
            Reporter: zhengruifeng


GraphX common classes (such as: Edge, EdgeTriplet) are not registered in Kryo 
by default.

Users can register those classes via 
{{GraphXUtils.{color:#ffc66d}registerKryoClasses{color}}}, however, it seems 
that none graphx-lib impls call it, and users tend to ignore this registration.

So I prefer to safely register them in \{{KryoSerializer.scala}}, like what  
SQL and ML do.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to