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.
Replace HADOOP_HOME with HADOOP_PREFIX variable in the file where u have declared all the variables.
And now,
HADOOP_PREFIX
is being deprecated, HADOOP_HOME is returning.in your .bashrc file, replace the "HADOOP_HOME" variable with "HADOOP_PREFIX" variable, and you should be good.
My teacher tell me to use
HADOOP_INSTALL
instead ofHADOOP_HOME
.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.