hadoop测试wordcount出现的问题

xiaoxiao2021-02-27  378

问题:

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(所有的节点的防火墙都需要关闭)

转载请注明原文地址: https://www.6miu.com/read-2917.html

最新回复(0)