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

hadoop问题汇总

时间:2014-07-19 02:31:55      阅读:275      评论:0      收藏:0      [点我收藏+]

标签:library   export   warning   信息   loaded   

1、启动journalnode时存在警告信息,sbin/hadoop-daemon.sh stop journalnode

starting journalnode, logging to /app/hadoop-2.2.0/logs/hadoop-root-journalnode-qasdba.out

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /app/hadoop-2.2.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 <libfile>‘, or link it with ‘-z noexecstack‘.

解决:增加环境变量

export HADOOP_HOME=/app/hadoop-2.2.0
export PATH=$HADOOP_HOME/bin:$PATH:...
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"

hadoop问题汇总

标签:library   export   warning   信息   loaded   

原文地址:http://chengyanbin.blog.51cto.com/3900113/1440052

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