首先安装google的protobuf
yum?install?glibc-headers
yum?install?gcc??yum?install?gcc-c++??yum?install?make
yum?install?cmake??yum?install?openssl-devel??yum?install?ncurses-devel
tar?zxvf?protobuf-2.5.0.tar.gz
cd?protobuf-2.5.0?&&?./configure?&&?make?&&?make?check?&&?make?install
?
然后安装maven-3.0.5,配置环境变量
?
下载hadoop-2.5.1-src,解压后,执行mvn?package?-DskipTests?-Pdist,native
原文:http://yehao0716.iteye.com/blog/2150884