Warning: $HADOOP_HOME is deprecated. 关闭
2013-03-13 13:49
357 查看
添加 export HADOOP_HOME_WARN_SUPPRESS=TRUE 到 hadoop-env.sh 中
注意要添加到集群中每一个节点中。
版本:hadoop 0.20.205
原因: Hadoop 在bin/hadoop-config.sh 中对HADOOP_HOME 进行了判断
判断发生的地方:
# the root of the Hadoop installation
export HADOOP_PREFIX=`dirname "$this"`/..
export HADOOP_HOME=${HADOOP_PREFIX}
报出错误的地方: bin /hadoop
if [ "$HADOOP_HOME_WARN_SUPPRESS" == "" ] && [ "$HADOOP_HOME" != "" ]; then
echo "Warning: \$HADOOP_HOME is deprecated." 1>&2
留着异常也无所谓不会对程序的正常运行产生影响。
转载自:http://metooxi.iteye.com/blog/1454347
注意要添加到集群中每一个节点中。
版本:hadoop 0.20.205
原因: Hadoop 在bin/hadoop-config.sh 中对HADOOP_HOME 进行了判断
判断发生的地方:
# the root of the Hadoop installation
export HADOOP_PREFIX=`dirname "$this"`/..
export HADOOP_HOME=${HADOOP_PREFIX}
报出错误的地方: bin /hadoop
if [ "$HADOOP_HOME_WARN_SUPPRESS" == "" ] && [ "$HADOOP_HOME" != "" ]; then
echo "Warning: \$HADOOP_HOME is deprecated." 1>&2
留着异常也无所谓不会对程序的正常运行产生影响。
转载自:http://metooxi.iteye.com/blog/1454347
相关文章推荐
- [hadoop]Warning: $HADOOP_HOME is deprecated. 关闭
- 如何解决刚安装完hadoop报Warning: $HADOOP_HOME is deprecated的方法
- 1、Warning: $HADOOP_HOME is deprecated. hadoop的家目录是不推荐的
- 关于 Warning: $HADOOP_HOME is deprecated.
- Warning: $HADOOP_HOME is deprecated.的原因以及解决方法
- Warning: $HADOOP_HOME is deprecated. hadoop1.0.1解决方法
- Warning: $HADOOP_HOME is deprecated. hadoop1.0.4解决方法
- Warning: $HADOOP_HOME is deprecated.
- Hadoop1.2.1 出现Warning: $HADOOP_HOME is deprecated.的解决方案
- Warning: $HADOOP_HOME is deprecated. hadoop解决方法补充版
- Hadoop启动时出现 Warning HADOOP_HOME is deprecated 的解决方案
- Warning: $HADOOP_HOME is deprecated. hadoop解决方法补充版
- hadoop1.2.1报Warning: $HADOOP_HOME is deprecated. 的解决方法
- Hadoop1.2.1 出现Warning: $HADOOP_HOME is deprecated.的解决方案
- Warning: $HADOOP_HOME is deprecated. hadoop1.0....
- Warning: $HADOOP_HOME is deprecated. hadoop1.0.4解决方法
- Warning:$HADOOP_HOME is deprecated问题
- Hadoop启动时出现Warning: $HADOOP_HOME is deprecated.警告
- Warning: $HADOOP_HOME is deprecated.
- localhost: Warning: $HADOOP_HOME is deprecated.问题解决