文件名称:hadoop-2.6.0编译好的64bit的native库
文件大小:942KB
文件格式:RAR
更新时间:2018-04-12 04:31:50
hadoop-2.6.0 64位native库
在64位系统上运行Hadoop 2.6.0会出现以下提示: 用缺省的32位native库(/opt/hadoop-2.6.0/lib/native)会出现下面的错误: 14/01/27 10:52:34 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /opt/hadoop-2.6.0/lib/native/libhadoop.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'. 这是因为hadoop默认编译好的native库是32bit的,所以要重新编译hadoop2.6的源代码,获取64位native库,将其复制到原来安装的hadoop的native目录中替代原来的类库,然后重新运行即可。
【文件预览】:
native-x64
----libhadoop.a(1.07MB)
----libhadoop.so.1.0.0(656KB)
----libhdfs.so(223KB)
----libhadooppipes.a(1.42MB)
----libhadooputils.a(568KB)
----libhdfs.a(351KB)
----libhadoop.so(656KB)
----libhdfs.so.0.0.0(223KB)