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>

 

posted on 2015-08-18 01:43  lvlv岁月流逝  阅读(1116)  评论(0编辑  收藏  举报

导航