本次实验的环境:linux 64位+hadoop2.7.2 64位.
HADOOP_HOME=/hadoop/hadoop-2.7
说明64位hadoop部署需在64位操作系统上,同理32位linux上应该部署32位hadoop.
http://blog.csdn.net/wulantian/article/details/38112193
http://blog.csdn.net/wulantian/article/details/38111999
HADOOP_HOME=/hadoop/hadoop-2.7
点击(此处)折叠或打开
- [root@sht-sgmhadoopnn-01 ~]# getconf LONG_BIT
- 64
- [root@sht-sgmhadoopnn-01 ~]# cd /hadoop/hadoop-2.7.2/lib/native/
- [root@sht-sgmhadoopnn-01 native]# ll
- total 4924
- -rw-r--r-- 1 10011 10011 1382764 Jan 26 08:20 libhadoop.a
- -rw-r--r-- 1 10011 10011 1632184 Jan 26 08:20 libhadooppipes.a
- lrwxrwxrwx 1 10011 10011 18 Feb 22 00:23 libhadoop.so -> libhadoop.so.1.0.0
- -rwxr-xr-x 1 10011 10011 807878 Jan 26 08:20 libhadoop.so.1.0.0
- -rw-r--r-- 1 10011 10011 476682 Jan 26 08:20 libhadooputils.a
- -rw-r--r-- 1 10011 10011 447412 Jan 26 08:20 libhdfs.a
- lrwxrwxrwx 1 10011 10011 16 Feb 22 00:23 libhdfs.so -> libhdfs.so.0.0.0
- -rwxr-xr-x 1 10011 10011 282396 Jan 26 08:20 libhdfs.so.0.0.0
- [root@sht-sgmhadoopnn-01 native]# file libhadoop.so.1.0.0
- libhadoop.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
http://blog.csdn.net/wulantian/article/details/38112193
http://blog.csdn.net/wulantian/article/details/38111999