Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
472 views
in Technique[技术] by (71.8m points)

hadoop - $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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...