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

Bring GryoRegistrator to the forefront and deprecate GryoSerializer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: hadoop, io
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: