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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to