[
https://issues.apache.org/jira/browse/SPARK-48391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun closed SPARK-48391.
---------------------------------
> use addAll instead of add function in TaskMetrics to accelerate
> -----------------------------------------------------------------
>
> Key: SPARK-48391
> URL: https://issues.apache.org/jira/browse/SPARK-48391
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 3.5.0, 3.5.1
> Reporter: jiahong.li
> Assignee: jiahong.li
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.2, 4.0.0
>
>
> In the fromAccumulators method of TaskMetrics,we should use `
> tm._externalAccums.addAll` instead of `tm._externalAccums.add`, as
> _externalAccums is a instance of CopyOnWriteArrayList
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]