aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorShixiong Zhu <shixiong@databricks.com>2016-04-11 10:42:51 -0700
committerMichael Armbrust <michael@databricks.com>2016-04-11 10:42:51 -0700
commit2dacc81ec31233e558855a26340ad4662d470387 (patch)
treed755aeaae1c3349ac8784c713d9f96cf016b05ad /mllib
parent5de26194a3aaeab9b7a8323107f614126c90441f (diff)
downloadspark-2dacc81ec31233e558855a26340ad4662d470387.tar.gz
spark-2dacc81ec31233e558855a26340ad4662d470387.tar.bz2
spark-2dacc81ec31233e558855a26340ad4662d470387.zip
[SPARK-14494][SQL] Fix the race conditions in MemoryStream and MemorySink
## What changes were proposed in this pull request? Make sure accessing mutable variables in MemoryStream and MemorySink are protected by `synchronized`. This is probably why MemorySinkSuite failed here: https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-sbt-hadoop-2.2/650/testReport/junit/org.apache.spark.sql.streaming/MemorySinkSuite/registering_as_a_table/ ## How was this patch tested? Existing unit tests. Author: Shixiong Zhu <shixiong@databricks.com> Closes #12261 from zsxwing/memory-race-condition.
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions