码迷,mamicode.com
首页 > 其他好文 > 详细

There are 0 datanode(s) running and no node(s) are excluded in this operation.

时间:2017-05-27 19:10:22      阅读:416      评论:0      收藏:0      [点我收藏+]

标签:site   val   opera   node   home   namenode   running   生成   文件   

向hadoop导入文件,报错

....

There are 0 datanode(s) running and no node(s) are excluded in this operation.

....

查看配置 

$hadoop_home/hadoop/etc/hdfs-site.xml

<property>
<name>dfs.namenode.name.dir</name>
<value>file:/home/sparkuser/myspark/hadoop/hdfs/name</value>
</property>
<property>

对应目录下生成in_use.lock文件

解决

删除目录下的 current 

There are 0 datanode(s) running and no node(s) are excluded in this operation.

标签:site   val   opera   node   home   namenode   running   生成   文件   

原文地址:http://www.cnblogs.com/jeffry/p/6914010.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!