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>

 

文章来自:http://www.cnblogs.com/lvlv/p/4738212.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3