-
Notifications
You must be signed in to change notification settings - Fork 28.9k
SPARK-2749 [BUILD]. Spark SQL Java tests aren't compiling in Jenkins' Maven builds; missing junit:junit dep #1660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
QA tests have started for PR 1660. This patch merges cleanly. |
|
QA results for PR 1660: |
|
Jenkins, retest this please. |
|
QA tests have started for PR 1660. This patch merges cleanly. |
|
QA results for PR 1660: |
|
I'm pretty sure the test failure is spurious, as it's the same |
|
Jenkins, retest this please. |
|
Do we need to include |
|
test this please |
|
QA tests have started for PR 1660. This patch merges cleanly. |
|
QA results for PR 1660: |
|
Ok I'm merging this. Thanks. |
… Maven builds; missing junit:junit dep The Maven-based builds in the build matrix have been failing for a few days: https://amplab.cs.berkeley.edu/jenkins/view/Spark/ On inspection, it looks like the Spark SQL Java tests don't compile: https://amplab.cs.berkeley.edu/jenkins/view/Spark/job/Spark-Master-Maven-pre-YARN/hadoop.version=1.0.4,label=centos/244/consoleFull I confirmed it by repeating the command vs master: `mvn -Dhadoop.version=1.0.4 -Dlabel=centos -DskipTests clean package` The problem is that this module doesn't depend on JUnit. In fact, none of the modules do, but `com.novocode:junit-interface` (the SBT-JUnit bridge) pulls it in, in most places. However this module doesn't depend on `com.novocode:junit-interface` Adding the `junit:junit` dependency fixes the compile problem. In fact, the other modules with Java tests should probably depend on it explicitly instead of happening to get it via `com.novocode:junit-interface`, since that is a bit SBT/Scala-specific (and I am not even sure it's needed). Author: Sean Owen <[email protected]> Closes apache#1660 from srowen/SPARK-2749 and squashes the following commits: 858ff7c [Sean Owen] Add explicit junit dep to other modules with Java tests for robustness 9636794 [Sean Owen] Add junit dep so that Spark SQL Java tests compile
The Maven-based builds in the build matrix have been failing for a few days:
https://amplab.cs.berkeley.edu/jenkins/view/Spark/
On inspection, it looks like the Spark SQL Java tests don't compile:
https://amplab.cs.berkeley.edu/jenkins/view/Spark/job/Spark-Master-Maven-pre-YARN/hadoop.version=1.0.4,label=centos/244/consoleFull
I confirmed it by repeating the command vs master:
mvn -Dhadoop.version=1.0.4 -Dlabel=centos -DskipTests clean packageThe problem is that this module doesn't depend on JUnit. In fact, none of the modules do, but
com.novocode:junit-interface(the SBT-JUnit bridge) pulls it in, in most places. However this module doesn't depend oncom.novocode:junit-interfaceAdding the
junit:junitdependency fixes the compile problem. In fact, the other modules with Java tests should probably depend on it explicitly instead of happening to get it viacom.novocode:junit-interface, since that is a bit SBT/Scala-specific (and I am not even sure it's needed).