下载的tar.gz包中某个组件是32位下编译的,要在64位下安装必须要自己从源代码编译。
解决了n个缺少库的问题,熬过了龟速网络。
终于OK了!
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [4.991s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [4.511s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [10.398s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.694s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [4.535s]
[INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [9.113s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [8.369s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [5.450s]
[INFO] Apache Hadoop Common .............................. SUCCESS [3:02.883s]
[INFO] Apache Hadoop NFS ................................. SUCCESS [20.000s]
[INFO] Apache Hadoop Common Project ...................... SUCCESS [0.082s]
[INFO] Apache Hadoop HDFS ................................ SUCCESS [3:22.943s]
[INFO] Apache Hadoop HttpFS .............................. SUCCESS [40.153s]
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SUCCESS [27.107s]
[INFO] Apache Hadoop HDFS-NFS ............................ SUCCESS [10.564s]
[INFO] Apache Hadoop HDFS Project ........................ SUCCESS [0.097s]
[INFO] hadoop-yarn ....................................... SUCCESS [0.538s]
[INFO] hadoop-yarn-api ................................... SUCCESS [1:31.785s]
[INFO] hadoop-yarn-common ................................ SUCCESS [1:05.713s]
[INFO] hadoop-yarn-server ................................ SUCCESS [1.277s]
[INFO] hadoop-yarn-server-common ......................... SUCCESS [28.397s]
[INFO] hadoop-yarn-server-nodemanager .................... SUCCESS [30.332s]
[INFO] hadoop-yarn-server-web-proxy ...................... SUCCESS [7.174s]
[INFO] hadoop-yarn-server-resourcemanager ................ SUCCESS [32.341s]
[INFO] hadoop-yarn-server-tests .......................... SUCCESS [1.721s]
[INFO] hadoop-yarn-client ................................ SUCCESS [12.465s]
[INFO] hadoop-yarn-applications .......................... SUCCESS [0.190s]
[INFO] hadoop-yarn-applications-distributedshell ......... SUCCESS [5.903s]
[INFO] hadoop-mapreduce-client ........................... SUCCESS [0.211s]
[INFO] hadoop-mapreduce-client-core ...................... SUCCESS [58.714s]
[INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SUCCESS [6.645s]
[INFO] hadoop-yarn-site .................................. SUCCESS [0.306s]
[INFO] hadoop-yarn-project ............................... SUCCESS [11.676s]
[INFO] hadoop-mapreduce-client-common .................... SUCCESS [57.945s]
[INFO] hadoop-mapreduce-client-shuffle ................... SUCCESS [10.167s]
[INFO] hadoop-mapreduce-client-app ....................... SUCCESS [26.184s]
[INFO] hadoop-mapreduce-client-hs ........................ SUCCESS [11.990s]
[INFO] hadoop-mapreduce-client-jobclient ................. SUCCESS [9.288s]
[INFO] hadoop-mapreduce-client-hs-plugins ................ SUCCESS [3.075s]
[INFO] Apache Hadoop MapReduce Examples .................. SUCCESS [14.253s]
[INFO] hadoop-mapreduce .................................. SUCCESS [5.475s]
[INFO] Apache Hadoop MapReduce Streaming ................. SUCCESS [10.254s]
[INFO] Apache Hadoop Distributed Copy .................... SUCCESS [18.713s]
[INFO] Apache Hadoop Archives ............................ SUCCESS [5.013s]
[INFO] Apache Hadoop Rumen ............................... SUCCESS [19.377s]
[INFO] Apache Hadoop Gridmix ............................. SUCCESS [12.321s]
[INFO] Apache Hadoop Data Join ........................... SUCCESS [6.692s]
[INFO] Apache Hadoop Extras .............................. SUCCESS [6.215s]
[INFO] Apache Hadoop Pipes ............................... SUCCESS [15.520s]
[INFO] Apache Hadoop Tools Dist .......................... SUCCESS [3.829s]
[INFO] Apache Hadoop Tools ............................... SUCCESS [0.073s]
[INFO] Apache Hadoop Distribution ........................ SUCCESS [30.355s]
[INFO] Apache Hadoop Client .............................. SUCCESS [11.413s]
[INFO] Apache Hadoop Mini-Cluster ........................ SUCCESS [0.431s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:31.301s
[INFO] Finished at: Fri May 23 01:41:39 PDT 2014
[INFO] Final Memory: 59M/129M
[INFO] ------------------------------------------------------------------------
gd@localhost:~/hadoop-2.2.0-src/hadoop-dist/target$ pwd
/home/gd/hadoop-2.2.0-src/hadoop-dist/target
gd@localhost:~/hadoop-2.2.0-src/hadoop-dist/target$ ll
total 94656
drwxrwxr-x 7 gd gd 4096 May 23 01:41 ./
drwxr-xr-x 3 gd gd 4096 May 23 01:40 ../
drwxrwxr-x 2 gd gd 4096 May 23 01:40 antrun/
-rw-rw-r-- 1 gd gd 1621 May 23 01:40 dist-layout-stitching.sh
drwxrwxr-x 9 gd gd 4096 May 23 01:41 hadoop-2.2.0/
-rw-rw-r-- 1 gd gd 2742 May 23 01:41 hadoop-dist-2.2.0.jar
-rw-rw-r-- 1 gd gd 96890579 May 23 01:41 hadoop-dist-2.2.0-javadoc.jar
drwxrwxr-x 2 gd gd 4096 May 23 01:41 javadoc-bundle-options/
drwxrwxr-x 2 gd gd 4096 May 23 01:41 maven-archiver/
drwxrwxr-x 2 gd gd 4096 May 23 01:40 test-dir/