You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "liuxian (JIRA)" <ji...@apache.org> on 2018/12/05 01:45:00 UTC

[jira] [Resolved] (SPARK-26264) It is better to add @transient to field 'locs' for class `ResultTask`.

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

liuxian resolved SPARK-26264.
-----------------------------
    Resolution: Not A Problem

> It is better to add @transient to field 'locs'  for class `ResultTask`.
> -----------------------------------------------------------------------
>
>                 Key: SPARK-26264
>                 URL: https://issues.apache.org/jira/browse/SPARK-26264
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.0.0
>            Reporter: liuxian
>            Priority: Minor
>
> The field 'locs' is only used in driver side  for class `ResultTask`, so it is not needed to serialize  when sending the `ResultTask`  to executor.
> Although it's not very big, it's very frequent, so we can add` transient` for it  like `ShuffleMapTask`
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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