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

Posted 一只猫的旅行

tags:

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

问题描述: org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /tmp/hadoop-yarn/staging/hadoop/.staging/job_1519998981934_0001/job.jar could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.

问题分析:There are 0 datanode(s) 使用jps查看有哪些进程正在运行,发现datanode节点没有在运行说明是由于该节点没有正常启动导致数据无法存放,从而发生错误。

问题解决:停止现在运行的所有进程,然后重新启动。主要是 datanode.

以上是关于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.

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

hadoop报错:There are 653 missing blocks. The following files may be corrupted

hadoop报错:There are 653 missing blocks. The following files may be corrupted

hadoop报错:There are 653 missing blocks. The following files may be corrupted

hadoop报错:There are 653 missing blocks. The following files may be corrupted