$HADOOP_HOME is deprecated

2020-02-08 07:20发布

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.

5条回答
兄弟一词,经得起流年.
2楼-- · 2020-02-08 07:34

Replace HADOOP_HOME with HADOOP_PREFIX variable in the file where u have declared all the variables.

查看更多
你好瞎i
3楼-- · 2020-02-08 07:40

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

查看更多
我欲成王,谁敢阻挡
4楼-- · 2020-02-08 07:43

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

查看更多
乱世女痞
5楼-- · 2020-02-08 07:43

My teacher tell me to use HADOOP_INSTALL instead of HADOOP_HOME.

查看更多
Melony?
6楼-- · 2020-02-08 07:56

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.

查看更多
登录 后发表回答