-
- Downloads
[SPARK-17463][CORE] Make CollectionAccumulator and SetAccumulator's value can be read thread-safely
## What changes were proposed in this pull request? Make CollectionAccumulator and SetAccumulator's value can be read thread-safely to fix the ConcurrentModificationException reported in [JIRA](https://issues.apache.org/jira/browse/SPARK-17463). ## How was this patch tested? Existing tests. Author: Shixiong Zhu <shixiong@databricks.com> Closes #15063 from zsxwing/SPARK-17463.
Showing
- core/src/main/scala/org/apache/spark/executor/TaskMetrics.scala 26 additions, 15 deletions...rc/main/scala/org/apache/spark/executor/TaskMetrics.scala
- core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala 5 additions, 2 deletions.../src/main/scala/org/apache/spark/util/AccumulatorV2.scala
- core/src/main/scala/org/apache/spark/util/JsonProtocol.scala 6 additions, 5 deletionscore/src/main/scala/org/apache/spark/util/JsonProtocol.scala
- core/src/test/scala/org/apache/spark/util/JsonProtocolSuite.scala 2 additions, 1 deletion.../test/scala/org/apache/spark/util/JsonProtocolSuite.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala 15 additions, 9 deletions.../scala/org/apache/spark/sql/execution/debug/package.scala
Loading
Please register or sign in to comment