ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem initialization failed.
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /tmp/hadoop-root/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible.
Hadoop启动时提示的:$HADOOP_HOME is deprecated.
不影响功能但是你要是和我一样有洁癖就看着不舒服
解决办法:在安装目录下conf下找到hadoop-env.sh然后再里面添加
export HADOOP_HOME_WARN_SUPPRESS=”TRUE”从新启动就可以了