Skip to content

Instantly share code, notes, and snippets.

@shivaram
Created August 31, 2016 16:12
Show Gist options
  • Save shivaram/7693df7bd54dc81e2e7d1ce296c41134 to your computer and use it in GitHub Desktop.
Save shivaram/7693df7bd54dc81e2e7d1ce296c41134 to your computer and use it in GitHub Desktop.
SparkR windows test failures
Failed -------------------------------------------------------------------------
1. Error: union on two RDDs (@test_binary_function.R#38) -----------------------
1: textFile(sc, fileName) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_binary_function.R:38
2: callJMethod(sc, "textFile", path, getMinPartitions(sc, minPartitions))
3: invokeJava(isStatic = FALSE, objId$id, methodName, ...)
4: stop(readString(conn))
2. Error: zipPartitions() on RDDs (@test_binary_function.R#84) -----------------
1: textFile(sc, fileName, 1) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_binary_function.R:84
2: callJMethod(sc, "textFile", path, getMinPartitions(sc, minPartitions))
3: invokeJava(isStatic = FALSE, objId$id, methodName, ...)
4: stop(readString(conn))
3. Error: saveAsObjectFile()/objectFile() following textFile() works (@test_binaryFile.R#31)
1: textFile(sc, fileName1, 1) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_binaryFile.R:31
2: callJMethod(sc, "textFile", path, getMinPartitions(sc, minPartitions))
3: invokeJava(isStatic = FALSE, objId$id, methodName, ...)
4: stop(readString(conn))
4. Error: saveAsObjectFile()/objectFile() works on a parallelized list (@test_binaryFile.R#46)
1: objectFile(sc, fileName) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_binaryFile.R:46
2: callJMethod(sc, "objectFile", path, getMinPartitions(sc, minPartitions))
3: invokeJava(isStatic = FALSE, objId$id, methodName, ...)
4: stop(readString(conn))
5. Error: saveAsObjectFile()/objectFile() following RDD transformations works (@test_binaryFile.R#57)
1: textFile(sc, fileName1) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_binaryFile.R:57
2: callJMethod(sc, "textFile", path, getMinPartitions(sc, minPartitions))
3: invokeJava(isStatic = FALSE, objId$id, methodName, ...)
4: stop(readString(conn))
6. Error: saveAsObjectFile()/objectFile() works with multiple paths (@test_binaryFile.R#85)
1: objectFile(sc, c(fileName1, fileName2)) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_binaryFile.R:85
2: callJMethod(sc, "objectFile", path, getMinPartitions(sc, minPartitions))
3: invokeJava(isStatic = FALSE, objId$id, methodName, ...)
4: stop(readString(conn))
7. Error: spark.glm save/load (@test_mllib.R#162) ------------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:162
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
8. Error: glm save/load (@test_mllib.R#292) ------------------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:292
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
9. Error: spark.kmeans (@test_mllib.R#340) -------------------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:340
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
10. Error: spark.mlp (@test_mllib.R#371) ---------------------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:371
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
11. Error: spark.naiveBayes (@test_mllib.R#439) --------------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:439
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
12. Error: spark.survreg (@test_mllib.R#496) -----------------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:496
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
13. Error: spark.isotonicRegression (@test_mllib.R#541) ------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:541
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
14. Error: spark.gaussianMixture (@test_mllib.R#603) ---------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:603
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
15. Error: spark.lda with libsvm (@test_mllib.R#636) ---------------------------
1: read.ml(modelPath) at C:/projects/spark/R/lib/SparkR/tests/testthat/test_mllib.R:636
2: callJStatic("org.apache.spark.ml.r.RWrappers", "load", path)
3: invokeJava(isStatic = TRUE, className, methodName, ...)
4: stop(readString(conn))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment