hadoop File could only be replicated to 0 nodes instead of minReplication (=1).

org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/root/QuasiMonteCarlo_1662058372231_992711697/in/part0 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.

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第1张图片

 

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第2张图片

 

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第3张图片

 这里错误了,集群ID错误了

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第4张图片

 

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第5张图片

 

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第6张图片

 

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第7张图片

 修改集群ID

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第8张图片

 

重启集群

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第9张图片

 hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第10张图片

 

把防火墙关闭了hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第11张图片

 hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第12张图片

 hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第13张图片

 hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第14张图片

 

可以执行了,但是机器蹦了

hadoop File could only be replicated to 0 nodes instead of minReplication (=1)._第15张图片

 

你可能感兴趣的:(hadoop,hadoop)