hadoop 报错 there appears to be a gap in the edit log. we expected txitd 1, but got txid 14444

Posted GeoWin_CAU

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop 报错 there appears to be a gap in the edit log. we expected txitd 1, but got txid 14444相关的知识,希望对你有一定的参考价值。

hadoop 报错 there appears to be a gap in the edit log.  we expected txitd 1, but got txid 14444

原因:

    namenode元数据被破坏,需要修复

解决:

    恢复一下namenode

    hadoop namenode –recover

    选择Y

    选择c

ok!

我也是醉了!!

==============================

You have selected metadata recovery mode. This mode is intended to recover lost matdata on a corrupt filesystem. metadata recovery mode often permanently deletes data from your HDFS filesystem.

以上是关于hadoop 报错 there appears to be a gap in the edit log. we expected txitd 1, but got txid 14444的主要内容,如果未能解决你的问题,请参考以下文章

hadoop报错:There are 653 missing blocks. The following files may be corrupted

hadoop报错:There are 653 missing blocks. The following files may be corrupted

hadoop报错:There are 653 missing blocks. The following files may be corrupted

hadoop报错:There are 653 missing blocks. The following files may be corrupted

java.io.IOException: There appears to be a gap in the edit log. We expected txid ***, but got txid(示

hadoop集群报错:There are 0 datanode(s) running and no node(s) are excluded in this operation