Directory /usr/local/hadoop/tmp/tmp/hadoop-root/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible

解决方法:

 <property>
                <name>hadoop.tmp.dir</name>
                <value>/usr/local/hadoop/tmp</value>
        </property>


改成如下:

<property>
                <name>hadoop.tmp.dir</name>
                <value>/usr/local/hadoop/tmp/hadoop-${user.name}</value>
        </property>
原文地址:https://www.cnblogs.com/lvlv/p/4738212.html