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

Posted jeffery1010

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了There are 0 datanode(s) running and no node(s) are excluded in this operation.相关的知识,希望对你有一定的参考价值。

向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.的主要内容,如果未能解决你的问题,请参考以下文章

HDFS 报错: There are 0 datanode(s) running and 0 node(s) are excluded in this operation.

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

hadoop集群报错:There are 0 datanode(s) running and no node(s) are excluded in this operation

华为交换机堆S5735S叠报错there are port members of the same logic stack port ID

华为交换机堆S5735S叠报错there are port members of the same logic stack port ID

English trip V1 - 11.What's That? 那是什么?Teacher:Patrick Key:There's/There are