Skip to content
Snippets Groups Projects
Commit 1a7fc74c authored by Sun Rui's avatar Sun Rui Committed by Shivaram Venkataraman
Browse files

[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 <rui.sun@intel.com>

Closes #12606 from sun-rui/SPARK-13178.
parent aeb52bea
No related branches found
No related tags found
No related merge requests found
...@@ -131,8 +131,6 @@ test_that("kmeans", { ...@@ -131,8 +131,6 @@ test_that("kmeans", {
newIris$Species <- NULL newIris$Species <- NULL
training <- suppressWarnings(createDataFrame(sqlContext, newIris)) training <- suppressWarnings(createDataFrame(sqlContext, newIris))
# Cache the DataFrame here to work around the bug SPARK-13178.
cache(training)
take(training, 1) take(training, 1)
model <- kmeans(x = training, centers = 2) model <- kmeans(x = training, centers = 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment