[ 
https://issues.apache.org/jira/browse/SPARK-11355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-11355.
-------------------------------
    Resolution: Cannot Reproduce

I can't reproduce this, and it looks like a failure from within the compiler 
plugin, not Spark. Try killing any stray zinc that's running.
(Also I'm not clear you ran the script to set up for 2.11 compilation, but 
that's not the problem.)

> Spark 1.5.1 compile failure with scala 2.11
> -------------------------------------------
>
>                 Key: SPARK-11355
>                 URL: https://issues.apache.org/jira/browse/SPARK-11355
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.5.1
>         Environment: - ubuntu 15.04
> - maven 3.3.3
> - encrypted hard drive
> - no zinc server installed
>            Reporter: Lauri Niskanen
>
> The log is from  a checkout of v1.5.2-rc1 but it was no different to the 1.5.1
> mvn -Pyarn -Phadoop-2.4 -Dscala-2.11 -DskipTests clean package -X
> ....
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 01:42 min
> [INFO] Finished at: 2015-10-27T18:45:04+02:00
> [INFO] Final Memory: 53M/726M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on 
> project spark-core_2.11: Execution scala-compile-first of goal 
> net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed. CompileFailed -> 
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile 
> (scala-compile-first) on project spark-core_2.11: Execution 
> scala-compile-first of goal 
> net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>       at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
> scala-compile-first of goal 
> net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>       ... 20 more
> Caused by: Compile failed via zinc server
>       at 
> sbt_inc.SbtIncrementalCompiler.zincCompile(SbtIncrementalCompiler.java:136)
>       at 
> sbt_inc.SbtIncrementalCompiler.compile(SbtIncrementalCompiler.java:86)
>       at 
> scala_maven.ScalaCompilerSupport.incrementalCompile(ScalaCompilerSupport.java:303)
>       at 
> scala_maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.java:119)
>       at 
> scala_maven.ScalaCompilerSupport.doExecute(ScalaCompilerSupport.java:99)
>       at scala_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:482)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>       ... 21 more



--
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