Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

$HADOOP_HOME is deprecated

I started a hadoop cluster.
I get this warning message: $HADOOP_HOME is deprecated

I already add export HADOOP_HOME_WARN_SUPPRESS="TRUE" into hadoop-env.sh
When I started the cluster, I do not see any more warning message.
However, When I run hadoop dfsadmin -report, It shows again.

like image 853
chnet Avatar asked Feb 15 '12 02:02

chnet


3 Answers

in your .bashrc file, replace the "HADOOP_HOME" variable with "HADOOP_PREFIX" variable, and you should be good.

like image 77
Devesh Chanchlani Avatar answered Nov 16 '22 14:11

Devesh Chanchlani


A was opened for such issue and was fixed on version 0.20.204.0. However a similar issue was opened on 0.20.205.0 and was fixed on 1.0. Please check your version to see if the fix is included.

like image 25
michaelliu Avatar answered Nov 16 '22 15:11

michaelliu


And now, HADOOP_PREFIX is being deprecated, HADOOP_HOME is returning.

like image 2
Emre Sevinç Avatar answered Nov 16 '22 14:11

Emre Sevinç