1 阅读hadoop-2.7.4-src/BUILDING.txt文件
这个文件一定要读取,这里面有最低要求
Requirements:
* Unix System
* JDK 1.7+ jdk的版本要是1.7以及以上的版本(必须)
* Maven 3.0 or later Maven 3.0以上版本(必须)
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0 ProtocolBuffer必须是2.5.0,这是一个坑(必须)
* CMake 2.6 or newer (if compiling native code), must be 3.0 or newer on Mac
* Zlib devel (if compiling native code)
* openssl devel ( if compiling native hadoop-pipes and to get the best HDFS encryption performance )
* Linux FUSE (Filesystem in Userspace) version 2.6 or above ( if compiling fuse_dfs )