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

org.apache.spark.broadcast.TorrentBroadcast does use the serializer class specified in the spark option "spark.serializer"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0.2, 1.1.0
    • 1.0.3, 1.1.0
    • Spark Core
    • None

    Description

      HTTPBroadcast will changes the serializer according to the setting in "spark.serializer".

      However, TorrentBroadcast does not read that option. It always uses Java built-in serializer. ( Specifically, it uses org.apache.spark.util.Utils.serialize() and org.apache.spark.util.Utils.deserialize() ).

      With TorrentBroadcast, Spark programs can not broadcast objects that can be serialized with custom Kryo serializer but not with Java built-in serializer.

      Attachments

        Issue Links

          Activity

            People

              gq Guoqiang Li
              joesu Joseph Su
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: