執(zhí)行start-all報錯,為什么在tmp目錄無法訪問文件夾
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.
2017-02-06
Hadoop啟動時提示的:$HADOOP_HOME is deprecated.
不影響功能但是你要是和我一樣有潔癖就看著不舒服
解決辦法:在安裝目錄下conf下找到hadoop-env.sh然后再里面添加
export HADOOP_HOME_WARN_SUPPRESS=”TRUE”從新啟動就可以了