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
原文地址:https://www.cnblogs.com/dailidong/p/7571233.html