问题:
WARN hdfs
.DFSClient: DataStreamer Exception:
org.apache.hadoop.ipc.RemoteException: java
.io.IOException:
File /opt/hdfs/tmp/mapred/staging/Administrator/
.staging/job_201705031949_0005/job
.jar could only be replicated to
0 nodes, instead
1
原因:
datanode节点上的防火墙没有关
解决办法:
关闭防火墙 service iptables stop(所有的节点的防火墙都需要关闭)