You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/02/15 21:45:11 UTC

[jira] [Resolved] (HADOOP-11560) Unable to compile Source code

     [ https://issues.apache.org/jira/browse/HADOOP-11560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth resolved HADOOP-11560.
------------------------------------
    Resolution: Duplicate

> Unable to compile Source code
> -----------------------------
>
>                 Key: HADOOP-11560
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11560
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, native
>         Environment: Windows 7 Professional
>            Reporter: Gopi
>
> I have done the Setup for all of the below:
> Hadoop source: C:\Practice\Hadoop\hadoop-2.6.0-src
> * Windows System 7 Professional
> * JDK 1.6
> * Apache Maven 3.2.5
> * ProtocolBuffer 2.5.0 (protoc-2.5.0-win32.zip [protoc.exe])
> * CMake (cmake-3.1.2-win32-x86.exe)
> * Windows SDK 7.1
> * Unix command-line tools installed Cygwin
> I am getting the below build error
> ==========================================================
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 44.521 s
> [INFO] Finished at: 2015-02-07T00:35:14-05:00
> [INFO] Final Memory: 54M/129M
> [INFO] ------------------------------------------------------------------------
> [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.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.buildProject(LifecycleModuleBuilder.java:116)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.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(DefaultBuildPluginManager.java:132)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: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
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hadoop-common
> C:\Practice\Hadoop\hadoop-2.6.0-src>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)