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

Safely register class for GraphX

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.4.3
    • None
    • GraphX
    • 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

              Unassigned Unassigned
              podongfeng Ruifeng Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: