You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/11/20 08:33:36 UTC

[jira] [Updated] (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 ]

Josh Rosen updated SPARK-3132:
------------------------------
    Assignee: Davies Liu

[~davies], I'm assigning this to you since the PySpark broadcast changes that we discussed sound very similar to this.

> 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
>            Reporter: Reynold Xin
>            Assignee: Davies Liu
>
> 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