hadoop fs -put上传失败

来源:互联网 发布:怎么用u盘导出考勤数据 编辑:程序博客网 时间:2024/06/08 15:16

org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/a.txt._COPYING_ 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群上所有节点的 firewall(防火墙)

chkconfig iptables off

service iptables stop

chkconfig iptables --list      //查看防火墙开机的状态

service iptables status       //查看防火墙当前的状态

0 0
原创粉丝点击