Chris Nauroth <cnauroth@...> writes: > > Hello, Smriti. > > This is saying that the Maven build failed in the compile-ms-winutils step. > This step is an external call to msbuild to compile and link the native > code required for Hadoop to run correctly on Windows. It doesn't say > exactly why it failed (other than exit code 1), so you'll have to > troubleshoot this part a bit further. Is msbuild on your PATH? Do you see > any additional log output related to failures in msbuild? > > If you haven't already done so, then I also recommend reading through the > BUILDING.txt file in the root of the Hadoop source tree. It has a section > describing all of the requirements for building on Windows. > > Chris Nauroth > Hortonworks > http://hortonworks.com/ > > On Sun, Oct 6, 2013 at 11:16 PM, Smriti Agarwal <smriti3008@...>wrote: > > > Hey, > > > > I am new to Hadoop installation and was trying to setup my development > > environment on Windows 8. Running mvn install on hadoop-common- project > > gives me the below 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] > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > > goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms- winutils) on > > project hadoop-common: Command execution failed. > > > > at > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja va:216) > > > > at > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja va:153) > > > > at > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja va:145) > > > > at > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject( LifecycleModuleBuilder.java:84) > > > > at > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject( LifecycleModuleBuilder.java:59) > > > > at > > > > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild (LifecycleStarter.java:183) > > > > at > > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSt arter.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.jav a:57) > > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:43) > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > > > at > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launche r.java:289) > > > > at > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2 29) > > > > at > > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc her.java:415) > > > > at > > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356 ) > > > > Caused by: org.apache.maven.plugin.MojoExecutionException: Command > > execution failed. > > > > at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:345) > > > > at > > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBui ldPluginManager.java:106) > > > > at > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja va:208) > > > > ... 19 more > > > > Caused by: org.apache.commons.exec.ExecuteException: Process exited with an > > error: 1(Exit value: 1) > > > > at > > > > org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor. java:346) > > > > at > > org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149 ) > > > > at > > org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:589) > > > > at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:335) > > > > ... 21 more > > > > > > Does anyone have any idea what I am missing? > > > > Thanks, > > Smriti > >
> > >Still getting error, after going through BUILDING.TXT. Any > suggestion?