Fork me on GitHub

missing blocks错误

Datanode的日志中看到: 10/12/14 20:10:31 INFO hdfs.DFSClient: Could not obtain block blk_XXXXXXXXXXXXXXXXXXXXXX_YYYYYYYY from any node: java.io.IOException: No live nodes contain current block. Will get new block locations from namenode and retry... 


有可能是Hadoop HDFS Datanode 达到了同时处理文件的上限,修改

<property>

        <name>dfs.datanode.max.xcievers</name>

        <value>4096</value>

      </property>

然后重启datanode
posted @ 2015-06-09 23:08  程序优化  阅读(649)  评论(0编辑  收藏  举报