You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Frank Zheng <be...@gmail.com> on 2012/10/24 11:42:11 UTC

Hadoop 2.0.2 InstallationProblem -- Mapreduce Tarball

Hi All,

I am a new user of Hadoop.
I followed the instructions in the Single Node Setup of Hadoop 2.0.2

When I executed this command: $ mvn clean install -DskipTests
it failed.

And the error logs are as bellow.

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.466s
[INFO] Finished at: Wed Oct 24 17:41:15 HKT 2012
[INFO] Final Memory: 30M/345M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile-proto) on
project hadoop-common: An Ant BuildException has occured: exec returned:
127 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[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 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


Thanks
Yu

Re: Hadoop 2.0.2 InstallationProblem -- Mapreduce Tarball

Posted by Arun C Murthy <ac...@hortonworks.com>.
You need to ensure you have protobuf installed and protoc is on your PATH.

Arun

On Oct 24, 2012, at 5:42 AM, Frank Zheng wrote:

> Hi All,
> 
> I am a new user of Hadoop.
> I followed the instructions in the Single Node Setup of Hadoop 2.0.2
> 
> When I executed this command: $ mvn clean install -DskipTests
> it failed.
> 
> And the error logs are as bellow.
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.466s
> [INFO] Finished at: Wed Oct 24 17:41:15 HKT 2012
> [INFO] Final Memory: 30M/345M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile-proto) on project hadoop-common: An Ant BuildException has occured: exec returned: 127 -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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 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
> 
> 
> Thanks
> Yu
> 
> 

--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/



Re: Hadoop 2.0.2 InstallationProblem -- Mapreduce Tarball

Posted by Arun C Murthy <ac...@hortonworks.com>.
You need to ensure you have protobuf installed and protoc is on your PATH.

Arun

On Oct 24, 2012, at 5:42 AM, Frank Zheng wrote:

> Hi All,
> 
> I am a new user of Hadoop.
> I followed the instructions in the Single Node Setup of Hadoop 2.0.2
> 
> When I executed this command: $ mvn clean install -DskipTests
> it failed.
> 
> And the error logs are as bellow.
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.466s
> [INFO] Finished at: Wed Oct 24 17:41:15 HKT 2012
> [INFO] Final Memory: 30M/345M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile-proto) on project hadoop-common: An Ant BuildException has occured: exec returned: 127 -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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 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
> 
> 
> Thanks
> Yu
> 
> 

--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/



Re: Hadoop 2.0.2 InstallationProblem -- Mapreduce Tarball

Posted by Arun C Murthy <ac...@hortonworks.com>.
You need to ensure you have protobuf installed and protoc is on your PATH.

Arun

On Oct 24, 2012, at 5:42 AM, Frank Zheng wrote:

> Hi All,
> 
> I am a new user of Hadoop.
> I followed the instructions in the Single Node Setup of Hadoop 2.0.2
> 
> When I executed this command: $ mvn clean install -DskipTests
> it failed.
> 
> And the error logs are as bellow.
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.466s
> [INFO] Finished at: Wed Oct 24 17:41:15 HKT 2012
> [INFO] Final Memory: 30M/345M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile-proto) on project hadoop-common: An Ant BuildException has occured: exec returned: 127 -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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 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
> 
> 
> Thanks
> Yu
> 
> 

--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/



Re: Hadoop 2.0.2 InstallationProblem -- Mapreduce Tarball

Posted by Arun C Murthy <ac...@hortonworks.com>.
You need to ensure you have protobuf installed and protoc is on your PATH.

Arun

On Oct 24, 2012, at 5:42 AM, Frank Zheng wrote:

> Hi All,
> 
> I am a new user of Hadoop.
> I followed the instructions in the Single Node Setup of Hadoop 2.0.2
> 
> When I executed this command: $ mvn clean install -DskipTests
> it failed.
> 
> And the error logs are as bellow.
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.466s
> [INFO] Finished at: Wed Oct 24 17:41:15 HKT 2012
> [INFO] Final Memory: 30M/345M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile-proto) on project hadoop-common: An Ant BuildException has occured: exec returned: 127 -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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 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
> 
> 
> Thanks
> Yu
> 
> 

--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/