You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/07/31 21:20:39 UTC
[jira] [Resolved] (SPARK-2749) Spark SQL Java tests aren't
compiling in Jenkins' Maven builds; missing junit:junit dep
[ https://issues.apache.org/jira/browse/SPARK-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Wendell resolved SPARK-2749.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
Issue resolved by pull request 1690
[https://github.com/apache/spark/pull/1690]
> Spark SQL Java tests aren't compiling in Jenkins' Maven builds; missing junit:junit dep
> ---------------------------------------------------------------------------------------
>
> Key: SPARK-2749
> URL: https://issues.apache.org/jira/browse/SPARK-2749
> Project: Spark
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.0.1
> Reporter: Sean Owen
> Assignee: Sean Owen
> Priority: Minor
> Fix For: 1.1.0
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.2#6252)