天天看点

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

继续阅读