[ https://issues.apache.org/jira/browse/HADOOP-11843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niels Basjes updated HADOOP-11843: ---------------------------------- Attachment: HADOOP-11843-2015-04-19-2206.patch Changes: - Changed to Oracle JDK. Left the OpenJDK command as a comment in there to allow easy changing back if a Dev wants to. - Fixed the ENV '=' warning - Added python dependencies - Replaced the motd with a set of environment checks: No root user and more than 2 GiB memory (Is this the right value?) - Added note about docker version to the BUILDING.TXT. I had it working with docker 1.4.1. I ran inside the latest container in my CentOS 6.6 Virtual (16GB RAM, VirtualBox on Windows, Spinning disk) these commands: Build and install (Same command as Chris ran): {code}time mvn clean install -Pnative -Pdist -Dtar -DskipTests -Drequire.bzip2 -Drequire.openssl -Drequire.snappy -Drequire.fuse{code} The output {code} [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12:35.202s [INFO] Finished at: Sun Apr 19 20:03:52 UTC 2015 [INFO] Final Memory: 238M/1586M [INFO] ------------------------------------------------------------------------ real 12m37.851s user 14m24.508s sys 3m21.735s {code} Allen's command: {code}time mvn clean site site:stage -DskipTests -Dmaven.javadoc.skip=true > logfile2 2>&1{code} Also fails on my system with an error relating to apache commons. {code}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:stage (default-cli) on project hadoop-main: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4:stage failed: A required class was missing while executing org.apache.maven.plugins:maven-site-plugin:3.4:stage: org/apache/commons/lang/StringUtils{code} > Make setting up the build environment easier > -------------------------------------------- > > Key: HADOOP-11843 > URL: https://issues.apache.org/jira/browse/HADOOP-11843 > Project: Hadoop Common > Issue Type: New Feature > Reporter: Niels Basjes > Assignee: Niels Basjes > Attachments: HADOOP-11843-2015-04-17-1612.patch, > HADOOP-11843-2015-04-17-2226.patch, HADOOP-11843-2015-04-17-2308.patch, > HADOOP-11843-2015-04-19-2206.patch > > > ( As discussed with [~aw] ) > In AVRO-1537 a docker based solution was created to setup all the tools for > doing a full build. This enables much easier reproduction of any issues and > getting up and running for new developers. > This issue is to 'copy/port' that setup into the hadoop project in > preparation for the bug squash. -- This message was sent by Atlassian JIRA (v6.3.4#6332)