Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27656

Safely register class for GraphX

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.4.3
    • Fix Version/s: None
    • Component/s: GraphX
    • Labels:
      None

      Description

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

      Users can register those classes via GraphXUtils.registerKryoClasses, 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.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                podongfeng zhengruifeng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: