首页 > 其他 > 详细

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

时间:2017-05-27 18:43:58      阅读:1423      评论:0      收藏:0      [点我收藏+]

向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.

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

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!