hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Onder SEZGIN <ondersez...@gmail.com>
Subject Re: windows installation error
Date Sat, 26 Sep 2015 20:59:31 GMT
Yes, the command i am running is

>mvn -e package -Pdist,native-win -DskipTests -Dtar

and i follow BUILDING.txt

├ľnder

On Sat, Sep 26, 2015 at 11:31 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Have you specified the following profile ?
>
> -Pnative-win
>
> Please see 'Building on Windows' section in BUILDING.txt
>
> Details can be found in this commit:
>
> 638801cce16fc1dc3259c541dc30a599faaddda1
>
> Cheers
>
> On Sat, Sep 26, 2015 at 6:51 AM, Onder SEZGIN <ondersezgin@gmail.com>
> wrote:
>
>> It was the latest release.
>> -X gives the same output because i had already supplied -e option while
>> running mvn package command.
>>
>> On Saturday, September 26, 2015, Ted Yu <yuzhihong@gmail.com> wrote:
>>
>>> Which release of hadoop are you installing ?
>>>
>>> Have you tried supplying -X switch to see debug logs ?
>>>
>>> Cheers
>>>
>>> On Sat, Sep 26, 2015 at 5:46 AM, Onder SEZGIN <ondersezgin@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am trying to build hadoop on windows.
>>>> and i am getting the error below.
>>>>
>>>> Is there anyone who could get over the issue?
>>>>
>>>> Cheers
>>>>
>>>> [ERROR] Failed to execute goal
>>>> org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (c
>>>> ompile-ms-winutils) on project hadoop-common: Command execution failed.
>>>> Process
>>>> exited with an error: 1 (Exit value: 1) -> [Help 1]
>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>> execute goal o
>>>> rg.codehaus.mojo:exec-maven-plugin:1.3.1:exec (compile-ms-winutils) on
>>>> project h
>>>> adoop-common: Command execution failed.
>>>>         at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
>>>> .java:216)
>>>>         at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
>>>> .java:153)
>>>>         at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
>>>> .java:145)
>>>>         at
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
>>>> ct(LifecycleModuleBuilder.java:84)
>>>>         at
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
>>>> ct(LifecycleModuleBuilder.java:59)
>>>>         at
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
>>>> ild(LifecycleStarter.java:183)
>>>>         at
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
>>>> eStarter.java:161)
>>>>         at
>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>>>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>>>>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>>>>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>>>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>         at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>>> java:57)
>>>>         at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>>> sorImpl.java:43)
>>>>         at java.lang.reflect.Method.invoke(Method.java:606)
>>>>         at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
>>>> cher.java:289)
>>>>         at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
>>>> a:229)
>>>>         at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
>>>> uncher.java:415)
>>>>         at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
>>>> 356)
>>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Command
>>>> execution fai
>>>> led.
>>>>         at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:303)
>>>>         at
>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
>>>> BuildPluginManager.java:106)
>>>>         at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
>>>> .java:208)
>>>>         ... 19 more
>>>> Caused by: org.apache.commons.exec.ExecuteException: Process exited
>>>> with an erro
>>>> r: 1 (Exit value: 1)
>>>>         at
>>>> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecut
>>>> or.java:402)
>>>>         at
>>>> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:
>>>> 164)
>>>>         at
>>>> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:750)
>>>>
>>>>         at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:292)
>>>>         ... 21 more
>>>> [ERROR]
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please rea
>>>> d the following articles:
>>>> [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
>>>> xception
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the command
>>>>
>>>> [ERROR]   mvn <goals> -rf :hadoop-common
>>>> --
>>>> Regards
>>>> Onder
>>>>
>>>>
>>>
>>
>> --
>> Sent from my iPhone
>>
>
>


-- 
Regards
Onder

Mime
View raw message