wget http://ftp.heanet.ie/mirrors/www.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
tar -xzvf apache-maven-3.3.3-bin.tar.gz
exportMAVEN_HOME=/opt/apache-maven-3.3.3
exportPATH=$MAVEN_HOME/bin:$PATH
mvn -v
Install protobuf
1
2
3
4
5
6
7
8
wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2
tar -xjvf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
./configure --prefix=/opt/protoc
make
make install
exportPROTO_HOME=/opt/protoc
exportPATH=$PATH:$PROTO_HOME/bin
Install findbugs
1
2
3
4
wget http://jaist.dl.sourceforge.net/project/findbugs/findbugs/2.0.3/findbugs-2.0.3.tar.gz
tar -xzvf findbugs-2.0.3.tar.gz
exportFINDBUGS_HOME=/opt/findbugs-2.0.3
exportPATH=$PATH:$FINDBUGS_HOME/bin
Get Hadoop src
1
2
3
4
cd /opt
wget http://mirrors.whoishostingthis.com/apache/hadoop/common/hadoop-2.5.2/hadoop-2.5.2-src.tar.gz
tar -xzvf hadoop-2.5.2-src.tar.gz
cd hadoop-2.5.2-src
Build hadoop
1
2
cd /opt/hadoop/hadoop-2.5.2-src
mvn package -Pdist,native -DskipTests -Dtar