Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> hadoop 2.4.1 build failure on CentOS 6


Copy link to this message
-
hadoop 2.4.1 build failure on CentOS 6
Hi,

I tried to build hadoop 2.4.1 in a CentOS 6 x86_64 vm but failed.  Maven
3.2.2 (installed from official bin tar ball)
   - Maven: 3.2.2
   - Java: Oracle jdk 1.8.0_11
   - Build command: mvn package -X -e -Pdist,native,docs -Dskiptests
   -Dadditionalparam=-Xdoclint:none

Error message:

[INFO]

[INFO] Reactor Summary:

[INFO]

[INFO] Apache Hadoop Main ................................. SUCCESS [
 1.993 s]

[INFO] Apache Hadoop Project POM .......................... SUCCESS [
 1.130 s]

[INFO] Apache Hadoop Annotations .......................... SUCCESS [
 3.706 s]

[INFO] Apache Hadoop Assemblies ........................... SUCCESS [
 0.193 s]

[INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [
 3.118 s]

[INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [
 6.921 s]

[INFO] Apache Hadoop MiniKDC .............................. SUCCESS [
11.463 s]

[INFO] Apache Hadoop Auth ................................. SUCCESS [
52.770 s]

[INFO] Apache Hadoop Auth Examples ........................ SUCCESS [
 2.185 s]

[INFO] Apache Hadoop Common ............................... FAILURE [
13.456 s]

[INFO] Apache Hadoop NFS .................................. SKIPPED

[INFO] Apache Hadoop Common Project ....................... SKIPPED

[INFO] Apache Hadoop HDFS ................................. SKIPPED

[INFO] Apache Hadoop HttpFS ............................... SKIPPED

[INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPED

[INFO] Apache Hadoop HDFS-NFS ............................. SKIPPED

[INFO] Apache Hadoop HDFS Project ......................... SKIPPED

[INFO] hadoop-yarn ........................................ SKIPPED

[INFO] hadoop-yarn-api .................................... SKIPPED

[INFO] hadoop-yarn-common ................................. SKIPPED

[INFO] hadoop-yarn-server ................................. SKIPPED

[INFO] hadoop-yarn-server-common .......................... SKIPPED

[INFO] hadoop-yarn-server-nodemanager ..................... SKIPPED

[INFO] hadoop-yarn-server-web-proxy ....................... SKIPPED

[INFO] hadoop-yarn-server-applicationhistoryservice ....... SKIPPED

[INFO] hadoop-yarn-server-resourcemanager ................. SKIPPED

[INFO] hadoop-yarn-server-tests ........................... SKIPPED

[INFO] hadoop-yarn-client ................................. SKIPPED

[INFO] hadoop-yarn-applications ........................... SKIPPED

[INFO] hadoop-yarn-applications-distributedshell .......... SKIPPED

[INFO] hadoop-yarn-applications-unmanaged-am-launcher ..... SKIPPED

[INFO] hadoop-yarn-site ................................... SKIPPED

[INFO] hadoop-yarn-project ................................ SKIPPED

[INFO] hadoop-mapreduce-client ............................ SKIPPED

[INFO] hadoop-mapreduce-client-core ....................... SKIPPED

[INFO] hadoop-mapreduce-client-common ..................... SKIPPED

[INFO] hadoop-mapreduce-client-shuffle .................... SKIPPED

[INFO] hadoop-mapreduce-client-app ........................ SKIPPED

[INFO] hadoop-mapreduce-client-hs ......................... SKIPPED

[INFO] hadoop-mapreduce-client-jobclient .................. SKIPPED

[INFO] hadoop-mapreduce-client-hs-plugins ................. SKIPPED

[INFO] Apache Hadoop MapReduce Examples ................... SKIPPED

[INFO] hadoop-mapreduce ................................... SKIPPED

[INFO] Apache Hadoop MapReduce Streaming .................. SKIPPED

[INFO] Apache Hadoop Distributed Copy ..................... SKIPPED

[INFO] Apache Hadoop Archives ............................. SKIPPED

[INFO] Apache Hadoop Rumen ................................ SKIPPED

[INFO] Apache Hadoop Gridmix .............................. SKIPPED

[INFO] Apache Hadoop Data Join ............................ SKIPPED

[INFO] Apache Hadoop Extras ............................... SKIPPED

[INFO] Apache Hadoop Pipes ................................ SKIPPED

[INFO] Apache Hadoop OpenStack support .................... SKIPPED

[INFO] Apache Hadoop Client ............................... SKIPPED

[INFO] Apache Hadoop Mini-Cluster ......................... SKIPPED

[INFO] Apache Hadoop Scheduler Load Simulator ............. SKIPPED

[INFO] Apache Hadoop Tools Dist ........................... SKIPPED

[INFO] Apache Hadoop Tools ................................ SKIPPED

[INFO] Apache Hadoop Distribution ......................... SKIPPED

[INFO]

[INFO] BUILD FAILURE

[INFO]

[INFO] Total time: 01:38 min

[INFO] Finished at: 2014-08-05T14:01:49+08:00

[INFO] Final Memory: 77M/316M

[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project
hadoop-common: An Ant BuildException has occured: exec returned: 1

[ERROR] around Ant part ...<exec failonerror="true"
dir="/dev/shm/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/target/native"
executable="cmake">... @ 4:129 in
/dev/shm/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/target/antrun/build-main.xml

[ERROR] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project
hadoop-common: An Ant BuildException has occured: exec returned: 1

around Ant part ...<exec failonerror="true"
dir="/dev/shm/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/target/native"
executable="cmake">... @ 4:129 in
/dev/shm/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/target/antrun/build-main.xml

        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.bui