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/04 10:22:00 UTC

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

liuxian created SPARK-26264:
-------------------------------

             Summary: 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


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