Java HotSpot(TM) Client VM warning: You have loaded library /opt/module/hadoop-2.7.2/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'.
翻译:
JAVA HotSpot(TM)客户端VM警告:您已加载库
/opt/module/hadoop-2.7.2/lib/native/libhadoop.so.1.0.0。
它可能已经禁用了堆栈保护。VM现在将尝试修复堆栈保护。
强烈建议您使用‘execstack-c<libfile>’修复该库,或者使用‘-z noexecstack’链接它。
vi /etc/profile
添加
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"
记得 source
扫描二维码关注公众号,回复:
14587473 查看本文章