hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arpit Agarwal <aagar...@hortonworks.com>
Subject Re: Fwd: Trying to build Hadoop on Windows 8
Date Fri, 13 Jun 2014 19:06:00 GMT
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 <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-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 <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éstor Boscán <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-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 <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éstor Boscán <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 <t_dv@yahoo.com> 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 <nestorjb@gmail.com>
>>>>>> *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 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.

Mime
View raw message