I intended to develop Hadoop in Windows setting so I first began with installing as below.
- cygwin, cmake, maven, Protocol Buffer 2.5, Windows SDK v7.1
Then I set the variables as below.
- M2_HOME=D:\java\apache-maven-3.2.1
- Platform=Win32
I added C:\cygwin\bin;%M2_HOME%\bin;D:\java\protoc-2.5.0-win32;
to path
and entered Hadoop root and ran - mvn package -Pdist,native-win -DskipTests -Dtar
from Windows SDK 7.1 Command Prompt
(omitted) [INFO] Apache Hadoop Common .............................FAILURE [ 32.778 s] (omitted) [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (complie-ms-winutils) on project hadoop-common: Command execution faild. Process exited with an error: 1 (Exit value: 1) -> [Help 1] (omitted)
complete logs url : http://pastebin.com/WAYezZmv
Such error as above keeps occurring which results in continuous failure in building. If anyone could help find the solution to the problem, your insight would be greatly appreciated! Thank you!!