You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/10/17 21:54:59 UTC

[jira] [Closed] (SPARK-3132) Avoid serialization for Array[Byte] in TorrentBroadcast

     [ https://issues.apache.org/jira/browse/SPARK-3132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reynold Xin closed SPARK-3132.
------------------------------
    Resolution: Not A Problem

Marking it as not-a-problem for now given Josh's comment.


> Avoid serialization for Array[Byte] in TorrentBroadcast
> -------------------------------------------------------
>
>                 Key: SPARK-3132
>                 URL: https://issues.apache.org/jira/browse/SPARK-3132
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>            Reporter: Reynold Xin
>
> If the input data is a byte array, we should allow TorrentBroadcast to skip serializing and compressing the input.
> To do this, we should add a new parameter (shortCircuitByteArray) to TorrentBroadcast, and then avoid serialization in if the input is byte array and shortCircuitByteArray is true.
> We should then also do compression in task serialization itself instead of doing it in TorrentBroadcast.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org