java.io.IOException: There appears to be a gap in the edit log. We expected txid ***, but got txid(示
听闻少年二字,当与平庸相斥。这篇文章主要讲述java.io.IOException: There appears to be a gap in the edit log. We expected txid ***, but got txid(示相关的知识,希望能为你提供帮助。
方式1
原因:namenode元数据被破坏,需要修复
解决:恢复一下namenode
hadoop namenode -recover
一路选择Y,一般就OK了
方式2
Need to copy the edits file to the journal node (I have 3 journal node s101 s102 s103)
[[email protected] /home/centos/hadoop/ha/dfs/name1/current]$scp edits_0000000000000000041-0000000000000000043 [email protected]:/home/centos/hadoop/ha/dfs/journal/mycluster/current[[email protected] /home/centos/hadoop/ha/dfs/name1/current]$scp edits_0000000000000000041-0000000000000000043 [email protected]:/home/centos/hadoop/ha/dfs/journal/mycluster/current[[email protected] /home/centos/hadoop/ha/dfs/name1/current]$scp edits_0000000000000000041-0000000000000000043 [email protected]:/home/centos/hadoop/ha/dfs/journal/mycluster/current[[email protected] /home/centos/hadoop/ha/dfs/name1/current]$hdfs zkfc -formatZK
https://blog.csdn.net/u011478909/article/details/51864071
【java.io.IOException: There appears to be a gap in the edit log. We expected txid ***, but got txid(示】https://blog.csdn.net/wqhaber/article/details/77529049
推荐阅读
- H5+混合移动app应用开发——坑我太甚
- Spring boot与Jackson ObjectMapper
- springboot:This application has no explicit mapping for /erro
- 她社区app投放广告效果怎么样()
- 智能代还APP开发公司
- 用什么安卓软件可以在手机中打开CAD图纸并进行查看()
- 安卓网页title为空显示url地址
- Android开发 - 掌握ConstraintLayout传统布局的问题
- 做信用卡智能代还APP必须了解的几点