隨筆 - 0, 文章 - 264, 評(píng)論 - 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ù)時(shí),報(bào)錯(cuò)如下:
          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集群中每一臺(tái)機(jī)器的防火墻:iptables -F。

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

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

          主站蜘蛛池模板: 平邑县| 西畴县| 石嘴山市| 佛冈县| 通许县| 驻马店市| 盐池县| 巫山县| 特克斯县| 原阳县| 枞阳县| 突泉县| 元氏县| 林芝县| 克拉玛依市| 新竹县| 吉水县| 闽清县| 虎林市| 荃湾区| 江西省| 喀喇沁旗| 连山| 许昌县| 九龙坡区| 应用必备| 信阳市| 上思县| 泸定县| 唐山市| 青铜峡市| 福州市| 云梦县| 漠河县| 四平市| 平乡县| 新竹市| 许昌市| 贺兰县| 偃师市| 清水河县|