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实战之问题集锦)