1. install hadoop
2. install hbase
3.build hadoop
cd $HADOOP_HOME
mvn clean package -Pdist -DskipTests -f ./cloudera-pom.xml
4. build hbase
cd $HBASE_HOME
mvn clean package -Pdist -DskipTests -f ./pom.xml
5. 添加classes 至IDEA project
/usr/local/hadoop/build/classes
/usr/local/hbase/target/classes