Hi Arpit

Yes I'm using the Windows SDK Command Prompt. I only use cygwin for the
dependency with make, ssh, etc.

Here's the Haddop Common compilation:

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Hadoop Common 2.4.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-os) @ hadoop-common
---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-common ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- hadoop-maven-plugins:2.4.0:protoc (compile-protoc) @
hadoop-common ---
[INFO]
[INFO] --- hadoop-maven-plugins:2.4.0:version-info (version-info) @
hadoop-common ---
[WARNING] [svn, info] failed with error code 1
[WARNING] [git, branch] failed: java.io.IOException: Cannot run program
"git": CreateProcess error=2, The system cannot find the file specified
[INFO] SCM: NONE
[INFO] Computed MD5: 375b2832a6641759c6eaf6e3e998147
[INFO]
[INFO] --- maven-resources-plugin:2.2:resources (default-resources) @
hadoop-common ---
[INFO] Using default encoding to copy filtered resources.
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
hadoop-common ---
[INFO] Compiling 13 source files to
C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\target\classes
[INFO]
[INFO] --- native-maven-plugin:1.0-alpha-7:javah (default) @ hadoop-common
---
[INFO] cmd.exe /X /C "C:\PROGRA~1\Java\jdk1.6.0_45\bin\javah -d
C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\target\native\javah
-classpath
C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\target\classes;C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-annotations\target\hadoop-annotations-2.4.0.jar;C:\PROGRA~1\Java\jdk1.6.0_45\jre\..\lib\tools.jar;C:\Desarrollo\maven\repositorio\com\google\guava\guava\11.0.2\guava-11.0.2.jar;C:\Desarrollo\maven\repositorio\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Desarrollo\maven\repositorio\org\apache\commons\commons-math3\3.1.1\commons-math3-3.1.1.jar;C:\Desarrollo\maven\repositorio\xmlenc\xmlenc\0.52\xmlenc-0.52.jar;C:\Desarrollo\maven\repositorio\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Desarrollo\maven\repositorio\commons-codec\commons-codec\1.4\commons-codec-1.4.jar;C:\Desarrollo\maven\repositorio\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Desarrollo\maven\repositorio\commons-net\commons-net\3.1\commons-net-3.1.jar;C:\Desarrollo\maven\repositorio\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\Desarrollo\maven\repositorio\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar;C:\Desarrollo\maven\repositorio\org\mortbay\jetty\jetty\6.1.26\jetty-6.1.26.jar;C:\Desarrollo\maven\repositorio\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1.26.jar;C:\Desarrollo\maven\repositorio\com\sun\jersey\jersey-core\1.9\jersey-core-1.9.jar;C:\Desarrollo\maven\repositorio\com\sun\jersey\jersey-json\1.9\jersey-json-1.9.jar;C:\Desarrollo\maven\repositorio\org\codehaus\jettison\jettison\1.1\jettison-1.1.jar;C:\Desarrollo\maven\repositorio\com\sun\xml\bind\jaxb-impl\2.2.3-1\jaxb-impl-2.2.3-1.jar;C:\Desarrollo\maven\repositorio\javax\xml\bind\jaxb-api\2.2.2\jaxb-api-2.2.2.jar;C:\Desarrollo\maven\repositorio\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;C:\Desarrollo\maven\repositorio\javax\activation\activation\1.1\activation-1.1.jar;C:\Desarrollo\maven\repositorio\org\codehaus\jackson\jackson-jaxrs\1.8.8\jackson-jaxrs-1.8.8.jar;C:\Desarrollo\maven\repositorio\org\codehaus\jackson\jackson-xc\1.8.8\jackson-xc-1.8.8.jar;C:\Desarrollo\maven\repositorio\com\sun\jersey\jersey-server\1.9\jersey-server-1.9.jar;C:\Desarrollo\maven\repositorio\asm\asm\3.2\asm-3.2.jar;C:\Desarrollo\maven\repositorio\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Desarrollo\maven\repositorio\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Desarrollo\maven\repositorio\net\java\dev\jets3t\jets3t\0.9.0\jets3t-0.9.0.jar;C:\Desarrollo\maven\repositorio\org\apache\httpcomponents\httpclient\4.2.5\httpclient-4.2.5.jar;C:\Desarrollo\maven\repositorio\org\apache\httpcomponents\httpcore\4.2.5\httpcore-4.2.5.jar;C:\Desarrollo\maven\repositorio\com\jamesmurty\utils\java-xmlbuilder\0.4\java-xmlbuilder-0.4.jar;C:\Desarrollo\maven\repositorio\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Desarrollo\maven\repositorio\commons-configuration\commons-configuration\1.6\commons-configuration-1.6.jar;C:\Desarrollo\maven\repositorio\commons-digester\commons-digester\1.8\commons-digester-1.8.jar;C:\Desarrollo\maven\repositorio\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar;C:\Desarrollo\maven\repositorio\commons-beanutils\commons-beanutils-core\1.8.0\commons-beanutils-core-1.8.0.jar;C:\Desarrollo\maven\repositorio\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar;C:\Desarrollo\maven\repositorio\org\codehaus\jackson\jackson-core-asl\1.8.8\jackson-core-asl-1.8.8.jar;C:\Desarrollo\maven\repositorio\org\codehaus\jackson\jackson-mapper-asl\1.8.8\jackson-mapper-asl-1.8.8.jar;C:\Desarrollo\maven\repositorio\org\apache\avro\avro\1.7.4\avro-1.7.4.jar;C:\Desarrollo\maven\repositorio\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;C:\Desarrollo\maven\repositorio\org\xerial\snappy\snappy-java\1.0.4.1\snappy-java-1.0.4.1.jar;C:\Desarrollo\maven\repositorio\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-auth\target\hadoop-auth-2.4.0.jar;C:\Desarrollo\maven\repositorio\com\jcraft\jsch\0.1.42\jsch-0.1.42.jar;C:\Desarrollo\maven\repositorio\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Desarrollo\maven\repositorio\org\apache\zookeeper\zookeeper\3.4.5\zookeeper-3.4.5.jar;C:\Desarrollo\maven\repositorio\org\apache\commons\commons-compress\1.4.1\commons-compress-1.4.1.jar;C:\Desarrollo\maven\repositorio\org\tukaani\xz\1.0\xz-1.0.jar
org.apache.hadoop.io.compress.zlib.ZlibCompressor
org.apache.hadoop.io.compress.zlib.ZlibDecompressor
org.apache.hadoop.security.JniBasedUnixGroupsMapping
org.apache.hadoop.io.nativeio.NativeIO
org.apache.hadoop.security.JniBasedUnix
[INFO]
[INFO] --- exec-maven-plugin:1.2:exec (compile-ms-winutils) @ hadoop-common
---
Build started 13/06/2014 14:39:14.
Project
"C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winutils\winutils.sln"
on node 0 (default targets).
  Building solution configuration "Release|x64".
C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winutils\libwinutils.vcxproj(21,14):
error MSB4066: The attribute "Label" in element <ItemGroup> is unrecognized.
Done Building Project
"C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winutils\winutils.sln"
(default targets) -- FAILED.

Build FAILED.

"C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winutils\winutils.sln"
(default target) (1) ->
(libwinutils target) ->

C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winutils\libwinutils.vcxproj(21,14):
error MSB4066: The attribute "Label" in element <ItemGroup> is unrecognized.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.16
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [1.045s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [0.876s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [1.750s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.228s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [1.747s]
[INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [2.371s]
[INFO] Apache Hadoop MiniKDC ............................. SUCCESS [1.693s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [2.293s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [1.695s]
[INFO] Apache Hadoop Common .............................. FAILURE [6.231s]
[INFO] Apache Hadoop NFS ................................. SKIPPED
[INFO] Apache Hadoop Common Project ...................... SKIPPED
[INFO] Apache Hadoop HDFS ................................ SKIPPED
[INFO] Apache Hadoop HttpFS .............................. SKIPPED
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
[INFO] Apache Hadoop HDFS-NFS ............................ SKIPPED
[INFO] Apache Hadoop HDFS Project ........................ SKIPPED
[INFO] hadoop-yarn ....................................... SKIPPED
[INFO] hadoop-yarn-api ................................... SKIPPED
[INFO] hadoop-yarn-common ................................ SKIPPED
[INFO] hadoop-yarn-server ................................ SKIPPED
[INFO] hadoop-yarn-server-common ......................... SKIPPED
[INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
[INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED
[INFO] hadoop-yarn-server-applicationhistoryservice ...... SKIPPED
[INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
[INFO] hadoop-yarn-server-tests .......................... SKIPPED
[INFO] hadoop-yarn-client ................................ SKIPPED
[INFO] hadoop-yarn-applications .......................... SKIPPED
[INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
[INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SKIPPED
[INFO] hadoop-yarn-site .................................. SKIPPED
[INFO] hadoop-yarn-project ............................... SKIPPED
[INFO] hadoop-mapreduce-client ........................... SKIPPED
[INFO] hadoop-mapreduce-client-core ...................... SKIPPED
[INFO] hadoop-mapreduce-client-common .................... SKIPPED
[INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
[INFO] hadoop-mapreduce-client-app ....................... SKIPPED
[INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
[INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
[INFO] hadoop-mapreduce-client-hs-plugins ................ SKIPPED
[INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
[INFO] hadoop-mapreduce .................................. SKIPPED
[INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED
[INFO] Apache Hadoop Distributed Copy .................... SKIPPED
[INFO] Apache Hadoop Archives ............................ SKIPPED
[INFO] Apache Hadoop Rumen ............................... SKIPPED
[INFO] Apache Hadoop Gridmix ............................. SKIPPED
[INFO] Apache Hadoop Data Join ........................... SKIPPED
[INFO] Apache Hadoop Extras .............................. SKIPPED
[INFO] Apache Hadoop Pipes ............................... SKIPPED
[INFO] Apache Hadoop OpenStack support ................... SKIPPED
[INFO] Apache Hadoop Client .............................. SKIPPED
[INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
[INFO] Apache Hadoop Scheduler Load Simulator ............ SKIPPED
[INFO] Apache Hadoop Tools Dist .......................... SKIPPED
[INFO] Apache Hadoop Tools ............................... SKIPPED
[INFO] Apache Hadoop Distribution ........................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 21.678s
[INFO] Finished at: Fri Jun 13 14:39:14 VET 2014
[INFO] Final Memory: 57M/498M
[INFO]
------------------------------------------------------------------------

Regards,

Nestor


On Fri, Jun 13, 2014 at 2:36 PM, Arpit Agarwal <[email protected]>
wrote:

> Could you share the complete build output?
>
> Feel free to put it on pastebin or similar if it's a lot of text.
>
>
> On Fri, Jun 13, 2014 at 12:00 PM, Néstor Boscán <[email protected]>
> wrote:
>
>> Hi thanks a lot for the info
>>
>> I started using a Windows 7 PC and I'm using the "Windows SDK Command
>> Prompt" but I'm still getting the same error:
>>
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on
>> project hadoop-common: Command execution failed. Process exited with an
>> error: 1(Exit value: 1) -> [Help 1]
>>
>> I tried with hadoop source 2.2.0, 2.3.0 and 2.4.0 with no success. I
>> checked the BUILDINGS.txt and everything is exactly as the file describes.
>>
>> Regards,
>>
>> Nestor
>>
>>
>> On Fri, Jun 13, 2014 at 2:22 PM, Arpit Agarwal <[email protected]>
>> wrote:
>>
>>> Unfortunately the SDK for Windows 8 does not include command-line build
>>> tools. You can build a binary distribution on Windows 7 using the steps
>>> outlined in BUILDING.txt and it should work on Windows 8.
>>>
>>> If you must build on Windows 8 you can try a couple of things:
>>> - Developer command prompt via Visual Studio Express 2013, if one is
>>> available.
>>> - Use Windows 7 SDK on Windows 8.
>>>
>>> If you do get either of these working updated instructions or patches
>>> would be welcome.
>>>
>>>
>>> On Fri, Jun 13, 2014 at 9:19 AM, Néstor Boscán <[email protected]>
>>> wrote:
>>>
>>>> The error I'm getting is building Apache Hadoop Commons:
>>>>
>>>> [ERROR] Failed to execute goal
>>>> org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on
>>>> project hadoop-common: Command execution failed. Process exited with an
>>>> error: 1(Exit value: 1) -> [Help 1]
>>>>
>>>> The BUILDING.txt documentation explains that I have to run Windows SDK
>>>> Command Prompt, but, in Windows 8 I can't find that shortcut. I tried
>>>> adding the msbuild folder to the PATH but it doesn't work.
>>>>
>>>> Regards,
>>>>
>>>> Néstor
>>>>
>>>>
>>>> On Fri, Jun 13, 2014 at 11:42 AM, Néstor Boscán <[email protected]>
>>>> wrote:
>>>>
>>>>> And it looks like Hortonworks is only certified with Windows Server,
>>>>> not Windows 8.
>>>>>
>>>>>
>>>>> On Fri, Jun 13, 2014 at 10:57 AM, Néstor Boscán <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Thanks but I'm trying to stick with the Hadoop installation.
>>>>>>
>>>>>>
>>>>>> On Fri, Jun 13, 2014 at 10:45 AM, Publius <[email protected]> wrote:
>>>>>>
>>>>>>> maybe just download hortonworks for windows
>>>>>>>
>>>>>>> Download Hadoop <http://hortonworks.com/hdp/downloads/>
>>>>>>>  [image: image] <http://hortonworks.com/hdp/downloads/>
>>>>>>>  Download Hadoop <http://hortonworks.com/hdp/downloads/>
>>>>>>> Download Apache Hadoop for the enterprise with Hortonworks Data
>>>>>>> Platform. Data access, storage, governance, security and operations 
>>>>>>> across
>>>>>>> Linux and...
>>>>>>>  View on hortonworks.com <http://hortonworks.com/hdp/downloads/>
>>>>>>>  Preview by Yahoo
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> KMG 365
>>>>>>>   ------------------------------
>>>>>>>  *From:* Néstor Boscán <[email protected]>
>>>>>>> *To:* [email protected]
>>>>>>> *Sent:* Friday, June 13, 2014 7:31 AM
>>>>>>> *Subject:* Fwd: Trying to build Hadoop on Windows 8
>>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> I'm trying to build Hadoop on WIndows 8. I have:
>>>>>>>
>>>>>>> Java 1.6.0_45 (JAVA_HOME set using old DOS name)
>>>>>>> Maven 3.2 (M2_HOME and PATH set)
>>>>>>> Protoc 2.5.0 (The 32-bit build that I found, PATH set)
>>>>>>> Cygwin 64-bit (PATH set)
>>>>>>> Windows SDK
>>>>>>>
>>>>>>> When I try to run the build I get an error that it cannot build
>>>>>>> using the Windows tools. Lookig throught the Internet I found that with
>>>>>>> Visual Studio 2010 there is a batch file that sets the Windows SDK
>>>>>>> enviroment variables for this but I don't know how to do this if I only 
>>>>>>> use
>>>>>>> Windows SDK.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Néstor
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> CONFIDENTIALITY NOTICE
>>> NOTICE: This message is intended for the use of the individual or entity
>>> to which it is addressed and may contain information that is confidential,
>>> privileged and exempt from disclosure under applicable law. If the reader
>>> of this message is not the intended recipient, you are hereby notified that
>>> any printing, copying, dissemination, distribution, disclosure or
>>> forwarding of this communication is strictly prohibited. If you have
>>> received this communication in error, please contact the sender immediately
>>> and delete it from your system. Thank You.
>>
>>
>>
>
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity
> to which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

Reply via email to