-
- Downloads
[SPARK-21578][CORE] Add JavaSparkContextSuite
## What changes were proposed in this pull request? Due to SI-8479, [SPARK-1093](https://issues.apache.org/jira/browse/SPARK-21578) introduced redundant [SparkContext constructors](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/SparkContext.scala#L148-L181). However, [SI-8479](https://issues.scala-lang.org/browse/SI-8479) is already fixed in Scala 2.10.5 and Scala 2.11.1. The real reason to provide this constructor is that Java code can access `SparkContext` directly. It's Scala behavior, SI-4278. So, this PR adds an explicit testsuite, `JavaSparkContextSuite` to prevent future regression, and fixes the outdate comment, too. ## How was this patch tested? Pass the Jenkins with a new test suite. Author: Dongjoon Hyun <dongjoon@apache.org> Closes #18778 from dongjoon-hyun/SPARK-21578.
Loading
Please register or sign in to comment