Fixed compile error due to merge

This commit is contained in:
Matei Zaharia 2013-07-05 11:27:06 -07:00
Родитель 0e33c88cbd
Коммит 399bd65ef5
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -253,7 +253,6 @@ class RDDSuite extends FunSuite with SharedSparkContext {
} }
test("takeSample") { test("takeSample") {
sc = new SparkContext("local", "test")
val data = sc.parallelize(1 to 100, 2) val data = sc.parallelize(1 to 100, 2)
for (seed <- 1 to 5) { for (seed <- 1 to 5) {
val sample = data.takeSample(withReplacement=false, 20, seed) val sample = data.takeSample(withReplacement=false, 20, seed)