隨筆 - 0, 文章 - 264, 評論 - 170, 引用 - 0
          數據加載中……

          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傳送文件數據時,報錯如下:
          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、關閉hadoop集群中每一臺機器的防火墻:iptables -F。

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

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

          主站蜘蛛池模板: 民权县| 宜阳县| 东丰县| 申扎县| 肇东市| 迁安市| 法库县| 布拖县| 甘泉县| 太保市| 台东县| 崇仁县| 巨野县| 星子县| 乾安县| 沧州市| 西乌珠穆沁旗| 麻江县| 莎车县| 丽江市| 新昌县| 清水县| 鲁山县| 柯坪县| 永修县| 温宿县| 呼伦贝尔市| 宕昌县| 巴林左旗| 通渭县| 林西县| 秭归县| 台南市| 营口市| 海宁市| 双辽市| 方山县| 车致| 搜索| 麦盖提县| 囊谦县|