错误描述:
16/03/09 14:34:07 WARN hdfs.DFSClient: DataStreamer Exception
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /test/README.txt.COPYING could only be replicated to 0 nodes instead of minReplication (=1). There are 2 datanode(s) running and 2 node(s) are excluded in this operation.
错误分析:上面这段英文主要是说数据上传的过程中有两个节点不能执行put这个操作。
原因:集群中还有没有关闭防火墙的节点,每个子节点的防火墙都必须关闭。
**解决方法:**service iptables stop(centos6.5);其他的操作系统请参考相关的文档。
hadoop使用put上传的错误DataStreamer Exception
最新推荐文章于 2022-07-05 10:40:06 发布