[ https://issues.apache.org/jira/browse/HDFS-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Masatake Iwasaki resolved HDFS-6762. ------------------------------------ Resolution: Not A Problem I have seen similar build failures with the message "Exit code: 137". It always turned out that there is not enough memory. I'm closing this as "not a problem". Please reopen if this still reproduces. > hadoop-hdfs build fails at module-javadocs > ------------------------------------------ > > Key: HDFS-6762 > URL: https://issues.apache.org/jira/browse/HDFS-6762 > Project: Hadoop HDFS > Issue Type: Bug > Components: build > Affects Versions: 2.4.1 > Environment: ubuntu trusty tahr > Reporter: Stijn Meevis > Priority: Critical > Original Estimate: 3h > Remaining Estimate: 3h > > Note; I never used JIRA before so sorry if I did it wrong > Maven build hangs for a long time at > main: > [INFO] Executed tasks > [INFO] > [INFO] --- maven-javadoc-plugin:2.8.1:jar (module-javadocs) @ hadoop-hdfs --- > Eventually the build fails > main: > [INFO] Executed tasks > [INFO] > [INFO] --- maven-javadoc-plugin:2.8.1:jar (module-javadocs) @ hadoop-hdfs --- > [INFO] > ExcludePrivateAnnotationsStandardDoclet > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Hadoop Main ................................ SUCCESS [3.133s] > [INFO] Apache Hadoop Project POM ......................... SUCCESS [3.134s] > [INFO] Apache Hadoop Annotations ......................... SUCCESS [7.367s] > [INFO] Apache Hadoop Assemblies .......................... SUCCESS [1.000s] > [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [4.297s] > [INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [4.673s] > [INFO] Apache Hadoop MiniKDC ............................. SUCCESS [3.471s] > [INFO] Apache Hadoop Auth ................................ SUCCESS [4.589s] > [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [2.567s] > [INFO] Apache Hadoop Common .............................. SUCCESS [1:26.140s] > [INFO] Apache Hadoop NFS ................................. SUCCESS [25.938s] > [INFO] Apache Hadoop Common Project ...................... SUCCESS [0.070s] > [INFO] Apache Hadoop HDFS ................................ FAILURE > [12:25.155s] > [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: 14:55.690s > [INFO] Finished at: Mon Jul 28 13:52:42 UTC 2014 > [INFO] Final Memory: 72M/241M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-javadoc-plugin:2.8 .1:jar > (module-javadocs) on project hadoop-hdfs: MavenReportException: Error whi > le creating archive: > [ERROR] Exit code: 137 - > /var/hadoop-2.4.1-src/hadoop-hdfs-project/hadoop-hdfs/s > rc/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.jav > a:32: warning: OutputFormat is internal proprietary API > and may be removed in a future release > [ERROR] import com.sun.org.apache.xml.internal.serialize.OutputFormat; > [ERROR] ^ > [ERROR] > /var/hadoop-2.4.1-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/ > > apache/hadoop/hdfs/tools/offlineEditsViewer/XmlEditsVisitor.java:33: warning: > XM LSerializer is internal proprietary API and may be > removed in a future release > [ERROR] import com.sun.org.apache.xml.internal.serialize.XMLSerializer; > [ERROR] ^ > [ERROR] Killed > [ERROR] > [ERROR] Command line was: /usr/lib/jvm/java-7-oracle/jre/../bin/javadoc > -J-Xmx51 2m @options @packages > [ERROR] > [ERROR] Refer to the generated Javadoc files in > '/var/hadoop-2.4.1-src/hadoop-hd > fs-project/hadoop-hdfs/target' dir. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > swit ch. > [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-hdfs > *Install procedure on an empty ubuntu trusty tahr machine* > \# Java > echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | > tee -a /etc/apt/sources.list > echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" > | tee -a /etc/apt/sources.list > apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 > apt-get update > #Auto-accept license > echo debconf shared/accepted-oracle-license-v1-1 select true | > debconf-set-selections > echo debconf shared/accepted-oracle-license-v1-1 seen true | > debconf-set-selections > #Install (without prompts) > DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes > oracle-java7-installer > DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes > oracle-java7-set-default > \# Dependencies apt > apt-get -y --force-yes install autoconf automake libtool zlib1g-dev > build-essential maven cmake > \# Dependencies tarball > cd /tmp > wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz > tar -zxvf protobuf-2.5.0.tar.gz > rm protobuf-2.5.0.tar.gz > cd protobuf-2.5.0 > ./configure --prefix=/usr > make > make install > ldconfig > \# Hadoop > cd /var > wget > http://apache.mirror1.spango.com/hadoop/common/current2/hadoop-2.4.1-src.tar.gz > tar -zxvf hadoop-2.4*-src.tar.gz > rm hadoop-2.4*-src.tar.gz > cd /var/hadoop-2.4*-src > mvn package -Pdist,native -DskipTests -Dtar -- This message was sent by Atlassian JIRA (v6.3.4#6332)