Hadoop2.10.0下库问题解决

starting resourcemanager, logging to /opt/hadoop-2.10.0/logs/yarn-liuqiang-resourcemanager-mu01.out
Java HotSpot(TM) Server VM warning: You have loaded library /opt/hadoop-2.10.0/lib/native/libhadoop.so.1.0.0 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 <libfile>', or link it with '-z noexecstack'.

原因是JDK的库警告

解决方法:

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"

 参考:https://stackoverflow.com/questions/22006211/hadoop-warning-message-execstack-c-libfile-or-link-it-with-z-noexecsta

 

发布了345 篇原创文章 · 获赞 68 · 访问量 90万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览