Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B62511B05 for ; Fri, 13 Jun 2014 22:04:47 +0000 (UTC) Received: (qmail 32737 invoked by uid 500); 13 Jun 2014 22:04:40 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 32627 invoked by uid 500); 13 Jun 2014 22:04:40 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 32620 invoked by uid 99); 13 Jun 2014 22:04:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2014 22:04:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aagarwal@hortonworks.com designates 209.85.160.179 as permitted sender) Received: from [209.85.160.179] (HELO mail-yk0-f179.google.com) (209.85.160.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2014 22:04:35 +0000 Received: by mail-yk0-f179.google.com with SMTP id 20so2506779yks.24 for ; Fri, 13 Jun 2014 15:04:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=IEY5duS/aYxs2xLPsMFOdR7JF7GBGEOj4k1nPAehlxc=; b=Z9B89g6ZMruezAI/3QfYqcN2+splsep2xs/YI/uex695aSjJ0lwT8Y0Yf/t05ChmhM bf+Qf6mXQT9/s0rTCyPsv7GgSdr4o5bAppCBBVlGeTkNnTLS7yyw50TKkW5NoToPKllf tjT3u1sy9LvwDgkK41oZObtaukrmE7/2bRfFFD8JR+/er+tHAwZOzY0TGB8oNTPE+XmZ W2V9VqukJFLyg1oJFdqedGn1Vy1K/A792ANJ7iD5SYWmw82/ZxdQyRVQ484JY+YKe06Z /dTCQEStXhDku4TseL7tOuRGinV7zVuXICEDndsHQQhjvlavaCuearhB/JQKpzOLJK/0 xZgw== X-Gm-Message-State: ALoCoQmsY6nLhbDfjRqGsQ9b8lD/qZS3LeL72S7+CQ2vXAYWPAzEL8A5cGLZkQJl74B24Funa7gIhOCZDLwki5RjrU1hEp/CCsTgdGri4fsi11B9i+iLCzI= MIME-Version: 1.0 X-Received: by 10.236.222.106 with SMTP id s100mr8622186yhp.38.1402697050662; Fri, 13 Jun 2014 15:04:10 -0700 (PDT) Received: by 10.170.127.74 with HTTP; Fri, 13 Jun 2014 15:04:10 -0700 (PDT) In-Reply-To: References: <1402672501.87282.YahooMailNeo@web160401.mail.bf1.yahoo.com> Date: Fri, 13 Jun 2014 15:04:10 -0700 Message-ID: Subject: Re: Fwd: Trying to build Hadoop on Windows 8 From: Arpit Agarwal To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e016354d46ec66704fbbedb0b X-Virus-Checked: Checked by ClamAV on apache.org --089e016354d46ec66704fbbedb0b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable There are no official Apache Hadoop binaries for Windows. I recall hitting the same error (MSB4019) with a bad SDK installation. Can you copy paste all environment variables from your build prompt (just the output of the 'set' command)? I can compare with what I have on my build machine. On Fri, Jun 13, 2014 at 2:47 PM, N=C3=A9stor Bosc=C3=A1n wrote: > Is there a site where I can download a built package for Windows? > > > On Fri, Jun 13, 2014 at 5:05 PM, N=C3=A9stor Bosc=C3=A1n wrote: > >> Yes I was playing with the PATH variable adding .NET 4.0. After that I >> get another error: >> >> hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winutils\l= ibwinutils.vcxproj(44,3): >> error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was >> not found. Confirm that the path in the declaration is correct, >> and that the file exists on disk. >> >> Regards, >> >> Nestor >> >> >> On Fri, Jun 13, 2014 at 5:03 PM, N=C3=A9stor Bosc=C3=A1n >> wrote: >> >>> Thanks bo. >>> >>> Regards, >>> >>> Nestor >>> >>> >>> On Fri, Jun 13, 2014 at 5:00 PM, bo yang wrote: >>> >>>> Just share my experience. I hit build issue on Windows 8 previously. >>>> Then I have to use Visual Studio to open the sln file, and build insid= e >>>> Visual Studio. After that, I could finish the build of hadoop 2.4. >>>> >>>> >>>> On Fri, Jun 13, 2014 at 2:26 PM, Arpit Agarwal < >>>> aagarwal@hortonworks.com> wrote: >>>> >>>>> No idea. Can you just try to update the environment in the cmd window >>>>> to point to the latest .NET and rebuild? >>>>> >>>>> >>>>> On Fri, Jun 13, 2014 at 2:12 PM, N=C3=A9stor Bosc=C3=A1n >>>>> wrote: >>>>> >>>>>> Thanks for the help >>>>>> >>>>>> I have the latest .NET Framework installed. Checking the enviroment >>>>>> variables Windows SDK is pointing to 3.5. I'm not very knowledgable = of >>>>>> Windows Development. Is there a way to point to .Net 4? >>>>>> >>>>>> Regards, >>>>>> >>>>>> Nestor >>>>>> >>>>>> >>>>>> On Fri, Jun 13, 2014 at 4:26 PM, Arpit Agarwal < >>>>>> aagarwal@hortonworks.com> wrote: >>>>>> >>>>>>> Google search for the error message shows this. >>>>>>> >>>>>>> >>>>>>> https://stackoverflow.com/questions/5107757/using-msbuild-with-vs20= 10-generated-vcxproj-file-as-target-error-msb4066-at >>>>>>> >>>>>>> Tried updating .NET? >>>>>>> >>>>>>> >>>>>>> On Fri, Jun 13, 2014 at 12:21 PM, N=C3=A9stor Bosc=C3=A1n >>>>>>> wrote: >>>>>>> >>>>>>>> Tried to build using 32bit same error. >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Nestor >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Jun 13, 2014 at 2:41 PM, N=C3=A9stor Bosc=C3=A1n >>>>>>>> wrote: >>>>>>>> >>>>>>>>> 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=3D2, The system cannot find th= e 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\hadoo= p-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\hadoo= p-common\target\native\javah >>>>>>>>> -classpath >>>>>>>>> C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoo= p-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\reposit= orio\org\apache\commons\commons-math3\3.1.1\commons-math3-3.1.1.jar;C:\Desa= rrollo\maven\repositorio\xmlenc\xmlenc\0.52\xmlenc-0.52.jar;C:\Desarrollo\m= aven\repositorio\commons-httpclient\commons-httpclient\3.1\commons-httpclie= nt-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-collec= tions\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:\Des= arrollo\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-ut= il-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\re= positorio\javax\xml\bind\jaxb-api\2.2.2\jaxb-api-2.2.2.jar;C:\Desarrollo\ma= ven\repositorio\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;C:\Desar= rollo\maven\repositorio\javax\activation\activation\1.1\activation-1.1.jar;= C:\Desarrollo\maven\repositorio\org\codehaus\jackson\jackson-jaxrs\1.8.8\ja= ckson-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\s= un\jersey\jersey-server\1.9\jersey-server-1.9.jar;C:\Desarrollo\maven\repos= itorio\asm\asm\3.2\asm-3.2.jar;C:\Desarrollo\maven\repositorio\commons-logg= ing\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Desarrollo\maven\rep= ositorio\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Desarrollo\maven\repositori= o\net\java\dev\jets3t\jets3t\0.9.0\jets3t-0.9.0.jar;C:\Desarrollo\maven\rep= ositorio\org\apache\httpcomponents\httpclient\4.2.5\httpclient-4.2.5.jar;C:= \Desarrollo\maven\repositorio\org\apache\httpcomponents\httpcore\4.2.5\http= core-4.2.5.jar;C:\Desarrollo\maven\repositorio\com\jamesmurty\utils\java-xm= lbuilder\0.4\java-xmlbuilder-0.4.jar;C:\Desarrollo\maven\repositorio\common= s-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Desarrollo\maven\repositori= o\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\rep= ositorio\commons-beanutils\commons-beanutils-core\1.8.0\commons-beanutils-c= ore-1.8.0.jar;C:\Desarrollo\maven\repositorio\org\slf4j\slf4j-api\1.7.5\slf= 4j-api-1.7.5.jar;C:\Desarrollo\maven\repositorio\org\codehaus\jackson\jacks= on-core-asl\1.8.8\jackson-core-asl-1.8.8.jar;C:\Desarrollo\maven\repositori= o\org\codehaus\jackson\jackson-mapper-asl\1.8.8\jackson-mapper-asl-1.8.8.ja= r;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\p= aranamer-2.3.jar;C:\Desarrollo\maven\repositorio\org\xerial\snappy\snappy-j= ava\1.0.4.1\snappy-java-1.0.4.1.jar;C:\Desarrollo\maven\repositorio\com\goo= gle\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;C:\Desarrollo\hado= op\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\j= sr305-1.3.9.jar;C:\Desarrollo\maven\repositorio\org\apache\zookeeper\zookee= per\3.4.5\zookeeper-3.4.5.jar;C:\Desarrollo\maven\repositorio\org\apache\co= mmons\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\hado= op-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\hadoo= p-common\src\main\winutils\libwinutils.vcxproj(21,14): >>>>>>>>> error MSB4066: The attribute "Label" in element is un= recognized. >>>>>>>>> Done Building Project >>>>>>>>> "C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hado= op-common\src\main\winutils\winutils.sln" >>>>>>>>> (default targets) -- FAILED. >>>>>>>>> >>>>>>>>> Build FAILED. >>>>>>>>> >>>>>>>>> "C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hado= op-common\src\main\winutils\winutils.sln" >>>>>>>>> (default target) (1) -> >>>>>>>>> (libwinutils target) -> >>>>>>>>> >>>>>>>>> C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoo= p-common\src\main\winutils\libwinutils.vcxproj(21,14): >>>>>>>>> error MSB4066: The attribute "Label" in element is un= recognized. >>>>>>>>> >>>>>>>>> 0 Warning(s) >>>>>>>>> 1 Error(s) >>>>>>>>> >>>>>>>>> Time Elapsed 00:00:00.16 >>>>>>>>> [INFO] >>>>>>>>> -----------------------------------------------------------------= ------- >>>>>>>>> [INFO] Reactor Summary: >>>>>>>>> [INFO] >>>>>>>>> [INFO] Apache Hadoop Main ................................ SUCCES= S >>>>>>>>> [1.045s] >>>>>>>>> [INFO] Apache Hadoop Project POM ......................... SUCCES= S >>>>>>>>> [0.876s] >>>>>>>>> [INFO] Apache Hadoop Annotations ......................... SUCCES= S >>>>>>>>> [1.750s] >>>>>>>>> [INFO] Apache Hadoop Assemblies .......................... SUCCES= S >>>>>>>>> [0.228s] >>>>>>>>> [INFO] Apache Hadoop Project Dist POM .................... SUCCES= S >>>>>>>>> [1.747s] >>>>>>>>> [INFO] Apache Hadoop Maven Plugins ....................... SUCCES= S >>>>>>>>> [2.371s] >>>>>>>>> [INFO] Apache Hadoop MiniKDC ............................. SUCCES= S >>>>>>>>> [1.693s] >>>>>>>>> [INFO] Apache Hadoop Auth ................................ SUCCES= S >>>>>>>>> [2.293s] >>>>>>>>> [INFO] Apache Hadoop Auth Examples ....................... SUCCES= S >>>>>>>>> [1.695s] >>>>>>>>> [INFO] Apache Hadoop Common .............................. FAILUR= E >>>>>>>>> [6.231s] >>>>>>>>> [INFO] Apache Hadoop NFS ................................. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Common Project ...................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop HDFS ................................ SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop HttpFS .............................. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop HDFS-NFS ............................ SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop HDFS Project ........................ SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn ....................................... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-api ................................... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-common ................................ SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-server ................................ SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-server-common ......................... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-server-nodemanager .................... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-server-web-proxy ...................... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-server-applicationhistoryservice ...... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-server-tests .......................... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-client ................................ SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-applications .......................... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-applications-distributedshell ......... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-site .................................. SKIPPE= D >>>>>>>>> [INFO] hadoop-yarn-project ............................... SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client ........................... SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client-core ...................... SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client-common .................... SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client-app ....................... SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client-hs ........................ SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce-client-hs-plugins ................ SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop MapReduce Examples .................. SKIPPE= D >>>>>>>>> [INFO] hadoop-mapreduce .................................. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop MapReduce Streaming ................. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Distributed Copy .................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Archives ............................ SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Rumen ............................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Gridmix ............................. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Data Join ........................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Extras .............................. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Pipes ............................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop OpenStack support ................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Client .............................. SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Mini-Cluster ........................ SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Scheduler Load Simulator ............ SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Tools Dist .......................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Tools ............................... SKIPPE= D >>>>>>>>> [INFO] Apache Hadoop Distribution ........................ SKIPPE= D >>>>>>>>> [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 < >>>>>>>>> aagarwal@hortonworks.com> 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=C3=A9stor Bosc=C3=A1n < >>>>>>>>>> nestorjb@gmail.com> 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-winuti= ls) 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 < >>>>>>>>>>> aagarwal@hortonworks.com> 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=C3=A9stor Bosc=C3=A1n < >>>>>>>>>>>> nestorjb@gmail.com> 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-winu= tils) on >>>>>>>>>>>>> project hadoop-common: Command execution failed. Process exit= ed 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 th= at shortcut. I >>>>>>>>>>>>> tried adding the msbuild folder to the PATH but it doesn't wo= rk. >>>>>>>>>>>>> >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> >>>>>>>>>>>>> N=C3=A9stor >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Jun 13, 2014 at 11:42 AM, N=C3=A9stor Bosc=C3=A1n < >>>>>>>>>>>>> nestorjb@gmail.com> 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=C3=A9stor Bosc=C3=A1n < >>>>>>>>>>>>>> nestorjb@gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks but I'm trying to stick with the Hadoop installation= . >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Fri, Jun 13, 2014 at 10:45 AM, Publius >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> maybe just download hortonworks for windows >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Download Hadoop >>>>>>>>>>>>>>>> [image: image] >>>>>>>>>>>>>>>> Download Hadoop >>>>>>>>>>>>>>>> Download Apache Hadoop for the enterprise with Hortonworks >>>>>>>>>>>>>>>> Data Platform. Data access, storage, governance, security = and operations >>>>>>>>>>>>>>>> across Linux and... >>>>>>>>>>>>>>>> View on hortonworks.com >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Preview by Yahoo >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> KMG 365 >>>>>>>>>>>>>>>> ------------------------------ >>>>>>>>>>>>>>>> *From:* N=C3=A9stor Bosc=C3=A1n >>>>>>>>>>>>>>>> *To:* user@hadoop.apache.org >>>>>>>>>>>>>>>> *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 Interne= t I found that >>>>>>>>>>>>>>>> with Visual Studio 2010 there is a batch file that sets th= e Windows SDK >>>>>>>>>>>>>>>> enviroment variables for this but I don't know how to do t= his if I only use >>>>>>>>>>>>>>>> Windows SDK. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> N=C3=A9stor >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 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 appl= icable law. >>>>>>>>>>>> If the reader of this message is not the intended recipient, y= ou are hereby >>>>>>>>>>>> notified that any printing, copying, dissemination, distributi= on, >>>>>>>>>>>> disclosure or forwarding of this communication is strictly pro= hibited. 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 o= r >>>>>>>>>> entity to which it is addressed and may contain information that= is >>>>>>>>>> confidential, privileged and exempt from disclosure under applic= able 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 prohi= bited. If >>>>>>>>>> you have received this communication in error, please contact th= e 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 applicabl= e law. >>>>>>> If the reader of this message is not the intended recipient, you ar= e hereby >>>>>>> notified that any printing, copying, dissemination, distribution, >>>>>>> disclosure or forwarding of this communication is strictly prohibit= ed. If >>>>>>> you have received this communication in error, please contact the s= ender >>>>>>> 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 sen= der >>>>> immediately and delete it from your system. Thank You. >>>>> >>>> >>>> >>> >> > --=20 CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to= =20 which it is addressed and may contain information that is confidential,=20 privileged and exempt from disclosure under applicable law. If the reader= =20 of this message is not the intended recipient, you are hereby notified that= =20 any printing, copying, dissemination, distribution, disclosure or=20 forwarding of this communication is strictly prohibited. If you have=20 received this communication in error, please contact the sender immediately= =20 and delete it from your system. Thank You. --089e016354d46ec66704fbbedb0b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
There are no official Apache Hadoop binaries for= Windows.

I recall hitting the same error (MSB4019) with a bad SDK i= nstallation.

Can you copy paste all environment variable= s from your build prompt (just the output of the 'set' command)? I = can compare with what I have on my build machine.


On Fri,= Jun 13, 2014 at 2:47 PM, N=C3=A9stor Bosc=C3=A1n <nestorjb@gmail.com= > wrote:
Is there a site where I can download a bui= lt package for Windows?

On Fri, Jun 13, 2014 at 5:05 PM, N=C3=A9st= or Bosc=C3=A1n <nestorjb@gmail.com> wrote:
Yes I was playing with the = PATH variable adding .NET 4.0. After that I get another error:

hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winutils= \libwinutils.vcxproj(44,3): error MSB4019: The imported project "C:\Mi= crosoft.Cpp.Default.props" was not found. Confirm that the path in the= <Import> declaration is correct, and that the file exists on disk.

Regards,

Nestor


= On Fri, Jun 13, 2014 at 5:03 PM, N=C3=A9stor Bosc=C3=A1n = <nestorjb@gmail.= com> wrote:
Thanks bo.

Regards,

Nestor


On Fri, Jun 1= 3, 2014 at 5:00 PM, bo yang <bobyangbo@gmail.com> wrote:
Just share my experience. I= hit build issue on Windows 8 previously. Then I have to use Visual Studio = to open the sln file, and build inside Visual Studio. After that, I could f= inish the build of hadoop 2.4.


On Fri, Jun 1= 3, 2014 at 2:26 PM, Arpit Agarwal <aagarwal@hortonworks.com>= wrote:
No idea. Can you just try t= o update the environment in the cmd window to point to the latest .NET and = rebuild?


On Fri, Jun 13, 2014 at 2:12 PM, N=C3=A9stor Bosc=C3=A1n <nestorjb@gma= il.com> wrote:
Thanks for the help

I hav= e the latest .NET Framework installed. Checking the enviroment variables Wi= ndows SDK is pointing to 3.5. I'm not very knowledgable of Windows Deve= lopment. Is there a way to point to .Net 4?

Regard= s,

Nestor


On Fri, Jun 1= 3, 2014 at 4:26 PM, Arpit Agarwal <aagarwal@hortonworks.com>= wrote:


On Fri, Jun 13, 2014 at 12:= 21 PM, N=C3=A9stor Bosc=C3=A1n <nestorjb@gmail.com> wrote:<= br>
Tried to build using 32bit same error.
Regards,

Nestor


On Fri, Jun 13, 2014 at 2:41 PM, N=C3=A9stor Bosc=C3=A1n <nestorjb@gma= il.com> wrote:
Hi Arpit

Ye= s I'm using the Windows SDK Command Prompt. I only use cygwin for the d= ependency with make, ssh, etc.=C2=A0

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 (enfor= ce-os) @ hadoop-common ---
[INFO]
[INFO] --- maven-antr= un-plugin:1.7:run (create-testdirs) @ hadoop-common ---
[INFO] Ex= ecuting tasks

main:
[INFO] Executed tasks
[INFO]<= /div>
[INFO] --- hadoop-maven-plugins:2.4.0:protoc (compile-protoc) @ h= adoop-common ---
[INFO]
[INFO] --- hadoop-maven-plugins= :2.4.0:version-info (version-info) @ hadoop-common ---
[WARNING] [svn, info] failed with error code 1
[WARNING] [gi= t, branch] failed: java.io.IOException: Cannot run program "git":= CreateProcess error=3D2, The system cannot find the file specified
[INFO] SCM: NONE
[INFO] Computed MD5: 375b2832a6641759c6eaf6= e3e998147
[INFO]
[INFO] --- maven-resources-plugin:2.2:= resources (default-resources) @ hadoop-common ---
[INFO] Using de= fault encoding to copy filtered resources.
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (defau= lt-compile) @ hadoop-common ---
[INFO] Compiling 13 source files = to C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-commo= n\target\classes
[INFO]
[INFO] --- native-maven-plugin:1.0-alpha-7:javah (def= ault) @ 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\h= adoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\target\classes;C= :\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-annotatio= ns\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\c= ommons-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\reposi= torio\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1.26.jar;C:\Desarrol= lo\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\jet= tison-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\j= avax\activation\activation\1.1\activation-1.1.jar;C:\Desarrollo\maven\repos= itorio\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\jet= s3t\0.9.0\jets3t-0.9.0.jar;C:\Desarrollo\maven\repositorio\org\apache\httpc= omponents\httpclient\4.2.5\httpclient-4.2.5.jar;C:\Desarrollo\maven\reposit= orio\org\apache\httpcomponents\httpcore\4.2.5\httpcore-4.2.5.jar;C:\Desarro= llo\maven\repositorio\com\jamesmurty\utils\java-xmlbuilder\0.4\java-xmlbuil= der-0.4.jar;C:\Desarrollo\maven\repositorio\commons-lang\commons-lang\2.6\c= ommons-lang-2.6.jar;C:\Desarrollo\maven\repositorio\commons-configuration\c= ommons-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\c= ommons-beanutils-1.7.0.jar;C:\Desarrollo\maven\repositorio\commons-beanutil= s\commons-beanutils-core\1.8.0\commons-beanutils-core-1.8.0.jar;C:\Desarrol= lo\maven\repositorio\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar;C:\Desar= rollo\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\ja= ckson-mapper-asl\1.8.8\jackson-mapper-asl-1.8.8.jar;C:\Desarrollo\maven\rep= ositorio\org\apache\avro\avro\1.7.4\avro-1.7.4.jar;C:\Desarrollo\maven\repo= sitorio\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;C:\Desar= rollo\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-jav= a\2.5.0\protobuf-java-2.5.0.jar;C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoo= p-common-project\hadoop-auth\target\hadoop-auth-2.4.0.jar;C:\Desarrollo\mav= en\repositorio\com\jcraft\jsch\0.1.42\jsch-0.1.42.jar;C:\Desarrollo\maven\r= epositorio\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Desarr= ollo\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.apa= che.hadoop.io.compress.zlib.ZlibDecompressor org.apache.hadoop.security.Jni= BasedUnixGroupsMapping org.apache.hadoop.io.nativeio.NativeIO org.apache.ha= doop.security.JniBasedUnix
[INFO]
[INFO] --- exec-maven-plugin:1.2:exec (compile-ms-win= utils) @ hadoop-common ---
Build started 13/06/2014 14:39:14.
Project "C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-pr= oject\hadoop-common\src\main\winutils\winutils.sln" on node 0 (default= targets).
=C2=A0 Building solution configuration "Release|x64".
<= div>C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-comm= on\src\main\winutils\libwinutils.vcxproj(21,14): error MSB4066: The attribu= te "Label" in element <ItemGroup> is unrecognized.
Done Building Project "C:\Desarrollo\hadoop\hadoop-2.4.0-src\hado= op-common-project\hadoop-common\src\main\winutils\winutils.sln" (defau= lt targets) -- FAILED.

Build FAILED.

"C:\Desarrollo\hadoop\hadoop-2.4.0-src\hadoop-common-pr= oject\hadoop-common\src\main\winutils\winutils.sln" (default target) (= 1) ->
(libwinutils target) ->
=C2=A0 C:\Desarroll= o\hadoop\hadoop-2.4.0-src\hadoop-common-project\hadoop-common\src\main\winu= tils\libwinutils.vcxproj(21,14): error MSB4066: The attribute "Label&q= uot; in element <ItemGroup> is unrecognized.

=C2=A0 =C2=A0 0 Warning(s)
=C2=A0 =C2=A0 1 Er= ror(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 Annotation= s ......................... 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 <aagarwal@hortonworks.com<= /a>> 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=C3=A9stor Bosc=C3=A1n <nestorjb@gm= ail.com> 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 fai= led. 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 exact= ly as the file describes.

Regards,

Nestor


On Fri, Jun 13, 2014 at 2:22 PM, Arpit Agarwal <aagarwal@hortonworks.com> wrote:
Unfortunately the SDK for Windows 8 does not include command-line build too= ls. You can build a binary distribution on Windows 7 using the steps outlin= ed 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 o= ne is available.
- Use Windows 7 SDK on Windows 8.

If you do get either of these working updated instruc= tions or patches would be welcome.


On Fri, Jun 13, 2014 at 9:19 AM, N=C3=A9stor Bosc=C3=A1n <nestor= jb@gmail.com> wrote:
The error I'm getting is building Apa= che Hadoop Commons:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-= plugin:1.2:exec (compile-ms-winutils) on project hadoop-common: Command exe= cution failed. Process exited with an error: 1(Exit value: 1) -> [Help 1= ]

The BUILDING.txt documentation explains that I ha= ve to run Windows SDK Command Prompt, but, in Windows 8 I can't find th= at shortcut. I tried adding the msbuild folder to the PATH but it doesn'= ;t work.

Regards,

N=C3=A9stor


O= n Fri, Jun 13, 2014 at 11:42 AM, N=C3=A9stor Bosc=C3=A1n = <nestorjb@gmail.= com> wrote:
And it looks like Hortonworks is only cer= tified with Windows Server, not Windows 8.


On Fri, = Jun 13, 2014 at 10:57 AM, N=C3=A9stor Bosc=C3=A1n <nestorjb@gmail.com= > wrote:
Thanks but I'm trying to stick with t= he Hadoop installation.


On Fri, Jun 1= 3, 2014 at 10:45 AM, Publius <t_dv@yahoo.com> wrote:

Download = Hadoop
= Download Hadoop
Download Apache Hadoop for the enterprise with Hortonworks Data Platform. D= ata access, storage, governance, security and operations across Linux and..= .
=
=3D"image"
Preview by Yahoo
=C2=A0
=C2= =A0






KMG 365=C2=A0

From: N=C3=A9stor Bosc=C3=A1n <nestorjb@gmail.com>
= To: user@hadoop.apache.org
Sent: Friday, June 13, 2014= 7:31 AM
Subject: Fwd: T= rying to build Hadoop on Windows 8

Hi

I'= ;m trying to build Hadoop on WIndows 8. I have:

Ja= va 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 Studi= o 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=C3=A9stor


<= /blockquote>





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, pr= ivileged and exempt from disclosure under applicable law. If the reader of = this message is not the intended recipient, you are hereby notified that an= y printing, copying, dissemination, distribution, disclosure or forwarding = of this communication is strictly prohibited. If you have received this com= munication in error, please contact the sender immediately and delete it fr= om your system. Thank You.



CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd 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, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u.




CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd 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, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u.



CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd 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, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u.






CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd 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, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u. --089e016354d46ec66704fbbedb0b--