You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kiran Kumar M R (JIRA)" <ji...@apache.org> on 2015/06/18 08:06:00 UTC

[jira] [Commented] (HADOOP-12099) Build fail on windows

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

Kiran Kumar M R commented on HADOOP-12099:
------------------------------------------

Invoke {{mvn install -Pnative-win -DskipTests}} to build on windows. This should work.
Refer BUILDING.txt file for the details.

> Build fail on windows
> ---------------------
>
>                 Key: HADOOP-12099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12099
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: galonga
>
> When trying to build hadoop 2.7.0 on windows 2008 server R2 32 bits SP2 from a windows SDK 7.1 windows and with protocol buffers 2.5.0 installed, the following error occurs at the HDFS build:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
> run (make) on project hadoop-hdfs: An Ant BuildException has occured: exec retur
> ned: 1
> [ERROR] around Ant part ...<exec failonerror="true" dir="E:\hadoop\hadoop-hdfs-p
> roject\hadoop-hdfs\target/native" executable="cmake">... @ 8:109 in E:\hadoop\ha
> doop-hdfs-project\hadoop-hdfs\target\antrun\build-main.xml
> [ERROR] -> [Help 1]



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