Error: org.apache.hadoop.ipc.RemoteException(java.io.IOException):......
could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and no node(s) are excluded in this operation.
在学习Hadoop的过程中或许我们经常会遇到过上面的问题那么一般的解决方法:
1.保证namenode的启动在datanode之前
2.保证hdfs的存储容量
3.保证关闭防火墙