[ 
https://issues.apache.org/jira/browse/SPARK-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200539#comment-15200539
 ] 

Jean-Baptiste Onofré commented on SPARK-13987:
----------------------------------------------

Nevermind, it works fine following the README. Sorry about the noise.

> Build fails due to scala version mismatch between 
> --------------------------------------------------
>
>                 Key: SPARK-13987
>                 URL: https://issues.apache.org/jira/browse/SPARK-13987
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>            Reporter: Jean-Baptiste Onofré
>
> Build fails on master, due to test fails in launcher:
> {code}
> Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.046 sec <<< 
> FAILURE! - in org.apache.spark.launcher.SparkSubmitCommandBuilderSuite
> testExamplesRunner(org.apache.spark.launcher.SparkSubmitCommandBuilderSuite)  
> Time elapsed: 0.01 sec  <<< ERROR!
> java.lang.IllegalStateException: Examples jars directory 
> '/home/jbonofre/Workspace/spark/examples/target/scala-2.11/jars' does not 
> exist.
>         at 
> org.apache.spark.launcher.SparkSubmitCommandBuilderSuite.buildCommand(SparkSubmitCommandBuilderSuite.java:307)
>         at 
> org.apache.spark.launcher.SparkSubmitCommandBuilderSuite.testExamplesRunner(SparkSubmitCommandBuilderSuite.java:164)
> {code}
> The reason is that the scala version by default in example is still 2.10, so 
> the file names don't match:
> {code}
> spark/examples/target$ ls -l|grep -i 2.10
> drwxrwxr-x 4 jbonofre jbonofre    4096 Feb  3 16:39 scala-2.10
> -rw-rw-r-- 1 jbonofre jbonofre 1899057 Feb  3 16:39 
> spark-examples_2.10-1.6.0-SNAPSHOT.jar
> -rw-rw-r-- 1 jbonofre jbonofre 1320517 Feb  3 16:40 
> spark-examples_2.10-1.6.0-SNAPSHOT-javadoc.jar
> -rw-rw-r-- 1 jbonofre jbonofre  390527 Feb  3 16:40 
> spark-examples_2.10-1.6.0-SNAPSHOT-sources.jar
> -rw-rw-r-- 1 jbonofre jbonofre   12333 Feb  3 16:39 
> spark-examples_2.10-1.6.0-SNAPSHOT-tests.jar
> -rw-rw-r-- 1 jbonofre jbonofre    8875 Feb  3 16:40 
> spark-examples_2.10-1.6.0-SNAPSHOT-test-sources.jar
> {code}
> I will submit a PR fixing that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to