Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1327

Bring GryoRegistrator to the forefront and deprecate GryoSerializer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • hadoop, io

    Description

      At the next major release (3.3.0), we should update the documentation and show the safer model for using Kryo with SparkGraphComputer.

      spark.serializer=KryoSerializer
      spark.kryo.registrator=GryoRegistrator
      

      GryoSerializer will simply be deprecated (and thus, backwards compatible).

      When deprecating GryoSerializer we should update the priority for the UnshadedKryoShimService as well. Also, in the documentation, we will have to explain that people should implement SerializerShim instead of Serializer if they want their custom classes to work moving forward. The change for them is as simple as replacing implements Serializer with implement SerializerShim and handling respective imports.

      Attachments

        Activity

          People

            okram Marko A. Rodriguez
            okram Marko A. Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: