隨筆 - 0, 文章 - 264, 評論 - 170, 引用 - 0
          數(shù)據(jù)加載中……

          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

          通過Flume向hdfs傳送文件數(shù)據(jù)時,報錯如下:
          org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /aboutyunlog/FlumeData.1430287668990.tmp 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.

          解決辦法:
          1、關(guān)閉hadoop集群中每一臺機(jī)器的防火墻:iptables -F。

          當(dāng)然上述方法比較暴力,真實(shí)情況可能只是放開Flume向hdfs通訊的幾個端口就行了。

          posted on 2015-04-29 15:21 小一敗涂地 閱讀(3765) 評論(0)  編輯  收藏 所屬分類: bigdata

          主站蜘蛛池模板: 孟连| 乌拉特中旗| 大庆市| 昔阳县| 镇原县| 竹北市| 溆浦县| 大同县| 成都市| 五寨县| 西林县| 红桥区| 徐汇区| 沙洋县| 荆州市| 沂源县| 收藏| 左贡县| 普兰县| 梁河县| 乐至县| 建始县| 安阳县| 鞍山市| 容城县| 当雄县| 京山县| 青冈县| 外汇| 信阳市| 乌兰浩特市| 绥滨县| 汕尾市| 新巴尔虎左旗| 珲春市| 云阳县| 涞源县| 肇源县| 通城县| 新丰县| 渝中区|