Joseph Su created SPARK-2897:
--------------------------------

             Summary: org.apache.spark.broadcast.TorrentBroadcast does use the 
serializer class specified in the spark option "spark.serializer"
                 Key: SPARK-2897
                 URL: https://issues.apache.org/jira/browse/SPARK-2897
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.0.2, 1.1.0
            Reporter: Joseph Su



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. 





--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to