部署Hadoop,需和Linux操作系统位数一致

本次实验的环境:linux 64位+hadoop2.7.2 64位.
HADOOP_HOME=/hadoop/hadoop-2.7

点击(此处)折叠或打开

  1. [root@sht-sgmhadoopnn-01 ~]# getconf LONG_BIT
  2. 64
  3. [root@sht-sgmhadoopnn-01 ~]# cd /hadoop/hadoop-2.7.2/lib/native/
  4. [root@sht-sgmhadoopnn-01 native]# ll
  5. total 4924
  6. -rw-r--r-- 1 10011 10011 1382764 Jan 26 08:20 libhadoop.a
  7. -rw-r--r-- 1 10011 10011 1632184 Jan 26 08:20 libhadooppipes.a
  8. lrwxrwxrwx 1 10011 10011 18 Feb 22 00:23 libhadoop.so -> libhadoop.so.1.0.0
  9. -rwxr-xr-x 1 10011 10011 807878 Jan 26 08:20 libhadoop.so.1.0.0
  10. -rw-r--r-- 1 10011 10011 476682 Jan 26 08:20 libhadooputils.a
  11. -rw-r--r-- 1 10011 10011 447412 Jan 26 08:20 libhdfs.a
  12. lrwxrwxrwx 1 10011 10011 16 Feb 22 00:23 libhdfs.so -> libhdfs.so.0.0.0
  13. -rwxr-xr-x 1 10011 10011 282396 Jan 26 08:20 libhdfs.so.0.0.0
  14. [root@sht-sgmhadoopnn-01 native]# file libhadoop.so.1.0.0
  15. libhadoop.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
 说明64位hadoop部署需在64位操作系统上,同理32位linux上应该部署32位hadoop.

http://blog.csdn.net/wulantian/article/details/38112193
http://blog.csdn.net/wulantian/article/details/38111999
上一篇:sql server备份与还原 sql语句


下一篇:利用Illustrator制作矩形字体的教程