This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.SparkContext | |
import org.apache.spark.SparkConf | |
case class Custom(a: Int, b: String) | |
// Set parallelism level as 2 | |
val conf = new SparkConf().setAppName("RepartitionIssue").setMaster("local[2]") | |
val sc = new SparkContext(conf) | |
val data = Seq(Custom(1, "a"), Custom(2, "b")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Stage 0:> (0 + 0) / 4] | |
[Stage 1:=============================> (2 + 2) / 4] | |
[Stage 1:============================================> (3 + 1) / 4] | |
[Stage 2:> (0 + 2) / 4] | |
[Stage 2:==============> (1 + 2) / 4] | |
[Stage 2:=============================> (2 + 2) / 4] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading required package: methods | |
Attaching package: 'SparkR' | |
The following object is masked from 'package:testthat': | |
describe | |
The following objects are masked from 'package:stats': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading required package: methods | |
Attaching package: 'SparkR' | |
The following object is masked from 'package:testthat': | |
describe | |
The following objects are masked from 'package:stats': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading required package: methods | |
Attaching package: 'SparkR' | |
The following object is masked from 'package:testthat': | |
describe | |
The following objects are masked from 'package:stats': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading required package: methods | |
Attaching package: 'SparkR' | |
The following object is masked from 'package:testthat': | |
describe | |
The following objects are masked from 'package:stats': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning message: | |
package 'testthat' was built under R version 3.3.1 | |
Loading required package: methods | |
Attaching package: 'SparkR' | |
The following object is masked from 'package:testthat': | |
describe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning message: | |
package 'testthat' was built under R version 3.3.1 | |
Loading required package: methods | |
Attaching package: 'SparkR' | |
The following object is masked from 'package:testthat': | |
describe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[00:42:08] Failed ------------------------------------------------------------------------- | |
[00:42:08] 1. Error: spark.glm save/load (@test_mllib.R#168) ------------------------------ | |
[00:42:08] java.io.IOException: No FileSystem for scheme: C | |
[00:42:08] | |
[00:42:08] at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2421) | |
[00:42:08] | |
[00:42:08] at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2428) | |
[00:42:08] | |
[00:42:08] at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:88) | |
[00:42:08] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[00:41:11] Failed ------------------------------------------------------------------------- | |
[00:41:11] 1. Error: spark.lda with text input (@test_mllib.R#655) ------------------------ | |
[00:41:11] org.apache.spark.sql.AnalysisException: Path does not exist: file:/C:/projects/spark/R/lib/SparkR/tests/testthat/data/mllib/sample_lda_data.txt; | |
[00:41:11] | |
[00:41:11] at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$12.apply(DataSource.scala:376) | |
[00:41:11] | |
[00:41:11] at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$12.apply(DataSource.scala:365) | |
[00:41:11] | |
[00:41:11] at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) | |
[00:41:11] |
OlderNewer