[ https://issues.apache.org/jira/browse/SPARK-48391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-48391. --------------------------------- Fix Version/s: 3.5.2 4.0.0 Resolution: Fixed Issue resolved by pull request 46705 [https://github.com/apache/spark/pull/46705] > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org