You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alexander Ulanov (JIRA)" <ji...@apache.org> on 2016/06/09 23:32:21 UTC
[jira] [Updated] (SPARK-15851) Spark 2.0 does not compile in
Windows 7
[ https://issues.apache.org/jira/browse/SPARK-15851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Ulanov updated SPARK-15851:
-------------------------------------
Target Version/s: 2.0.0
Fix Version/s: (was: 2.0.0)
> 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