Compile Hadoop Source Code

From Lofaro Lab Wiki
Revision as of 23:44, 16 April 2017 by Alafemina (Talk | contribs)

Jump to: navigation, search

install mvn from binary, protoc from src

install other dependencies

mvn clean install -DskipTests

mvn package -Pdist -Pdoc -Psrc -Dtar -DskipTests

code is in ~/hadoop-2.7.3-src/hadoop-dist/target/hadoop-2.7.3


This step needs to be done before installing Hadoop. On the github in the sources section, the files are located in apache-maven-3.3.9-bin.tar.gz and protobuf-2.5.0.tar.gz