![]() ![]() Optional: Move the compiled folder to /usr/local for convenience.Now you can find the target folder and tar.gz under hadoop-2.6.0-src/hadoop-dist/target.And redo it manually, than you will find out which one is missing. You can read the log carefully and find the corresponding instruction. There maybe some ERROR in building process beacuse of missing dependency.This instruction will create binary distribution with native code and with documentataion. Mvn package -Pdist,native,docs -DskipTests -Dtar You also need to install Maven, Ant, Findbugs, ProtocolBuffer and Java of courseĮxport JAVA_HOME=/usr/lib/jvm/java-7-oracleĮxport JRE_HOME=/usr/lib/jvm/java-7-oracle/jreĮxport CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH.Įxport PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATHĮxport MAVEN_HOME=/usr/local/apache-maven-3.2.5Įxport FINDBUGS_HOME=/usr/local/findbugs-3.0.0Įxport ANT_HOME=/usr/local/apache-ant-1.9.4Įxport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PROTOC_HOME/lib Download requirement package and for building.Look at the BUILDING.txt in the source directory, the instruction is very clear. ![]() The first step is building the whole project on my machine. ![]() I download the Hadoop-2.6.0 source this time instead of the compiled version. After several days working, I decided to give up and turn to Hadoop-2.6.0. I was stuck on a weird bug on install Hadoop-2.5.2 on Ubuntu Server 14.04. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |