spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-15851) Spark 2.0 does not compile in Windows 7
Date Fri, 10 Jun 2016 14:21:21 GMT

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

Sean Owen commented on SPARK-15851:
-----------------------------------

As a build platform -- I am not sure it's really supported meaningfully. It's probably worth
patching easy updates that keep it closer to working if possible. But clearly nothing about
the automated tests runs on Windows.

> Spark 2.0 does not compile in Windows 7
> ---------------------------------------
>
>                 Key: SPARK-15851
>                 URL: https://issues.apache.org/jira/browse/SPARK-15851
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.0.0
>         Environment: Windows 7
>            Reporter: Alexander Ulanov
>
> Spark does not compile in Windows 7.
> "mvn compile" fails on spark-core due to trying to execute a bash script spark-build-info.
> Work around:
> 1)Install win-bash and put in path
> 2)Change line 350 of core/pom.xml
>                 <exec executable="bash">
>                   <arg value="${project.basedir}/../build/spark-build-info"/>
>                   <arg value="${project.build.directory}/extra-resources"/>
>                   <arg value="${pom.version}"/>
>                 </exec>
> Error trace:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default)
on project spark-core_2.11: An Ant BuildException has occured: Execute failed: java.io.IOException:
Cannot run program "C:\dev\spark\core\..\build\spark-build-info" (in directory "C:\dev\spark\core"):
CreateProcess error=193, %1 is not a valid Win32 application
> [ERROR] around Ant part ...<exec executable="C:\dev\spark\core/../build/spark-build-info">...
@ 4:73 in C:\dev\spark\core\target\antrun\build-main.xml



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

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


Mime
View raw message