You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sh...@apache.org on 2016/04/22 20:19:56 UTC

spark git commit: [SPARK-13178] RRDD faces with concurrency issue in case of rdd.zip(rdd).count().

Repository: spark
Updated Branches:
  refs/heads/master aeb52bea5 -> 1a7fc74cc


[SPARK-13178] RRDD faces with concurrency issue in case of rdd.zip(rdd).count().

## What changes were proposed in this pull request?
The concurrency issue reported in SPARK-13178 was fixed by the PR https://github.com/apache/spark/pull/10947 for SPARK-12792.
This PR just removes a workaround not needed anymore.

## How was this patch tested?
SparkR unit tests.

Author: Sun Rui <ru...@intel.com>

Closes #12606 from sun-rui/SPARK-13178.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1a7fc74c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1a7fc74c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1a7fc74c

Branch: refs/heads/master
Commit: 1a7fc74ccf1b98d929aa4b2ab45c24d4c3d42c1a
Parents: aeb52be
Author: Sun Rui <ru...@intel.com>
Authored: Fri Apr 22 11:19:52 2016 -0700
Committer: Shivaram Venkataraman <sh...@cs.berkeley.edu>
Committed: Fri Apr 22 11:19:52 2016 -0700

----------------------------------------------------------------------
 R/pkg/inst/tests/testthat/test_mllib.R | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/1a7fc74c/R/pkg/inst/tests/testthat/test_mllib.R
----------------------------------------------------------------------
diff --git a/R/pkg/inst/tests/testthat/test_mllib.R b/R/pkg/inst/tests/testthat/test_mllib.R
index 47bbf7e..1597306 100644
--- a/R/pkg/inst/tests/testthat/test_mllib.R
+++ b/R/pkg/inst/tests/testthat/test_mllib.R
@@ -131,8 +131,6 @@ test_that("kmeans", {
   newIris$Species <- NULL
   training <- suppressWarnings(createDataFrame(sqlContext, newIris))
 
-  # Cache the DataFrame here to work around the bug SPARK-13178.
-  cache(training)
   take(training, 1)
 
   model <- kmeans(x = training, centers = 2)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org