码迷,mamicode.com
首页 > 其他好文 > 详细

Hive错误:Unable to load native-hadoop library for your platform

时间:2016-05-02 14:15:15      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

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.rar


——郑重声明:本文仅为作者个人笔记,请勿转载!——

Hive错误:Unable to load native-hadoop library for your platform

标签:

原文地址:http://www.cnblogs.com/hunttown/p/5452228.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!