Hi,

Sean helped me offline and I sent
https://github.com/apache/spark/pull/8479 for review. That's the only
breaking place for the build I could find. Tested with 2.10 and 2.11.

Pozdrawiam,
Jacek

--
Jacek Laskowski | http://blog.japila.pl | http://blog.jaceklaskowski.pl
Follow me at https://twitter.com/jaceklaskowski
Upvote at http://stackoverflow.com/users/1305344/jacek-laskowski


On Thu, Aug 27, 2015 at 9:51 AM, Jacek Laskowski <ja...@japila.pl> wrote:
> Hi,
>
> Is this a known issue of building Spark from today's sources using
> Scala 2.11? I did the following:
>
> ➜  spark git:(master) ✗ git rev-parse HEAD
> de0278286cf6db8df53b0b68918ea114f2c77f1f
> ➜  spark git:(master) ✗ ./dev/change-scala-version.sh 2.11
> ➜  spark git:(master) ✗ ./build/mvn -Pyarn -Phadoop-2.6
> -Dhadoop.version=2.7.1 -Dscala-2.11 -DskipTests clean install
> ...
> [INFO] --- scala-maven-plugin:3.2.2:testCompile
> (scala-test-compile-first) @ spark-mllib_2.11 ---
> [INFO] Using zinc server for incremental compilation
> [info] Compiling 130 Scala sources and 56 Java sources to
> /Users/jacek/dev/oss/spark/mllib/target/scala-2.11/test-classes...
> [error] warning: [options] bootstrap class path not set in conjunction
> with -source 1.7
> [error] 
> /Users/jacek/dev/oss/spark/mllib/src/test/java/org/apache/spark/ml/classification/JavaOneVsRestSuite.java:58:
> error: cannot find symbol
> [error]         List<LabeledPoint> points = 
> JavaConverters.asJavaListConverter(
> [error]                                                   ^
> [error]   symbol:   method asJavaListConverter(Seq<LabeledPoint>)
> [error]   location: class JavaConverters
> [error] 1 error
> [error] 1 warning
> [error] Compile failed at Aug 27, 2015 9:17:32 AM [18.086s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Spark Project Parent POM ........................... SUCCESS [  3.204 
> s]
> [INFO] Spark Project Launcher ............................. SUCCESS [ 10.366 
> s]
> [INFO] Spark Project Networking ........................... SUCCESS [ 10.360 
> s]
> [INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  6.131 
> s]
> [INFO] Spark Project Unsafe ............................... SUCCESS [  6.779 
> s]
> [INFO] Spark Project Core ................................. SUCCESS [01:49 
> min]
> [INFO] Spark Project Bagel ................................ SUCCESS [  6.961 
> s]
> [INFO] Spark Project GraphX ............................... SUCCESS [ 15.391 
> s]
> [INFO] Spark Project Streaming ............................ SUCCESS [ 32.247 
> s]
> [INFO] Spark Project Catalyst ............................. SUCCESS [ 53.709 
> s]
> [INFO] Spark Project SQL .................................. SUCCESS [ 53.794 
> s]
> [INFO] Spark Project ML Library ........................... FAILURE [ 37.048 
> s]
> [INFO] Spark Project Tools ................................ SKIPPED
> [INFO] Spark Project Hive ................................. SKIPPED
> [INFO] Spark Project REPL ................................. SKIPPED
> [INFO] Spark Project YARN Shuffle Service ................. SKIPPED
> [INFO] Spark Project YARN ................................. SKIPPED
> [INFO] Spark Project Assembly ............................. SKIPPED
> [INFO] Spark Project External Twitter ..................... SKIPPED
> [INFO] Spark Project External Flume Sink .................. SKIPPED
> [INFO] Spark Project External Flume ....................... SKIPPED
> [INFO] Spark Project External Flume Assembly .............. SKIPPED
> [INFO] Spark Project External MQTT ........................ SKIPPED
> [INFO] Spark Project External MQTT Assembly ............... SKIPPED
> [INFO] Spark Project External ZeroMQ ...................... SKIPPED
> [INFO] Spark Project External Kafka ....................... SKIPPED
> [INFO] Spark Project Examples ............................. SKIPPED
> [INFO] Spark Project External Kafka Assembly .............. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 05:46 min
> [INFO] Finished at: 2015-08-27T09:17:32+02:00
> [INFO] Final Memory: 65M/785M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile
> (scala-test-compile-first) on project spark-mllib_2.11: Execution
> scala-test-compile-first of goal
> net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile failed.
> CompileFailed -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :spark-mllib_2.11
>
> Pozdrawiam,
> Jacek
>
> --
> Jacek Laskowski | http://blog.japila.pl | http://blog.jaceklaskowski.pl
> Follow me at https://twitter.com/jaceklaskowski
> Upvote at http://stackoverflow.com/users/1305344/jacek-laskowski

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

Reply via email to