从官方下载hadoop的src,然后重新打包编译成64位
打包编译过程,安装软件过程:
more BUILDING.txt
* Unix System
* JDK 1.7+
* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0
以下文件安装方式:
yum -y install autoconf automake libtool cmake ncurses-devel openssl-devel lzo-devel zlib-devel gcc gcc-c++
* CMake 2.6 or newer (if compiling native code), must be 3.0 or newer on Mac
CMake的安装:https://cmake.org/
* Zlib devel (if compiling native code)
zlib官方网站:
http://www.zlib.net
$cd zlib-1.2.3.tar.gz
$./configure
$make
$sudo make install
* openssl devel ( if compiling native hadoop-pipes and to get the best HDFS encryption performance )
* Jansson C XML parsing library ( if compiling libwebhdfs )
* Linux FUSE (Filesystem in Userspace) version 2.6 or above ( if compiling fuse_dfs )
* Internet connection for first build (to fetch all Maven and Hadoop dependencies)