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

Masayoshi TSUZUKI commented on SPARK-3061:
------------------------------------------

This is because pom.xml in spark core executes unzip command.

{code:xml}
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>1.2.1</version>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <goals>
              <goal>exec</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <executable>unzip</executable>
          <workingDirectory>../python</workingDirectory>
          <arguments>
            <argument>-o</argument>
            <argument>lib/py4j*.zip</argument>
            <argument>-d</argument>
            <argument>build</argument>
          </arguments>
        </configuration>
      </plugin>
{code}

> Maven build fails in Windows OS
> -------------------------------
>
>                 Key: SPARK-3061
>                 URL: https://issues.apache.org/jira/browse/SPARK-3061
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0.2
>         Environment: Windows
>            Reporter: Masayoshi TSUZUKI
>            Priority: Minor
>
> Maven build fails in Windows OS with this error message.
> {noformat}
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (default) on project spark-core_2.10: Command execution failed. Cannot run 
> program "unzip" (in directory "C:\path\to\gitofspark\python"): CreateProcess 
> error=2, Žw’肳‚ꂽƒtƒ@ƒ -> [Help 1]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to