namenode启动报错:There appears to be a gap in the edit log. We expected txid 1, but got txid 16
来源:互联网 发布:mac向iphone传照片 编辑:程序博客网 时间:2024/06/14 07:44
在启动standy节点的namenode时,出现了There appears to be a gap in the edit log. We expected txid 1, but got txid 16的错误.
这种错误表示:该节点namenode元数据发生了损坏。需要恢复元数据以后,才能启动namenode
解决方法:恢复一下namenode
cd $HADOOP_HOME/bin
hadoop namenode -recover
一路选择c 进行元数据的恢复.
恢复完元数据以后,使用如下命令重新启动namenode节点:
第一种方式:可以使用
cd $HADOOP_HOME/sbin
./hadoop-daemon.sh start namenode
第二种方式:
cd $HADOOP_HOME/sbin
./start-all.sh
进行所有节点进程全启动.
阅读全文
0 0
- namenode启动报错:There appears to be a gap in the edit log. We expected txid 1, but got txid 16
- There appears to be a gap in the edit log. We expected txid 1, but got txid 16
- java.io.IOException: There appears to be a gap in the edit log. We expected txid 41, but got txid
- hadoop 报错 there appears to be a gap in the edit log. we expected txitd 1, but got txid 14444
- hadoop2.0报错“There appears to be a gap in the edit log”
- poi 3.8 使用xssf 仍然报错:The supplied data appears to be in the Office 2007+ XML. Yo
- The goal you specified requires a project to execute but there is no POM in 错误
- mybatis报错:Expected one result (or null) to be returned by selectOne(), but found: 20
- Android开发报错:GoogleApiClient.isConnected()' was expected to be of type interface but instead was ...
- appears more than once in the keychain The codesign tool requires there only be one
- 断电或强制退出后VMware虚拟机出现The virtual machine appears to be in use无法启动问题解决
- 【转】断电或强制退出后VMware虚拟机出现The virtual machine appears to be in use无法启动问题解决
- error: Resource at touchFocusParameter appears in overlay but not in the base package; use to add.
- Tomcat 报错:The web application [XXX] appears to have started a thread...
- Solr 报错:RemoteSolrException: Expected mime type application/octet-stream but got text/html
- solrj使用报错:HttpSolrServer$RemoteSolrException: Expected mime type application/xml but got text/html
- The goal you specified requires a project to execute but there is no POM in this directory
- The goal you specified requires a project to execute but there is no POM in this directory
- java笔试题
- 使用ajaxfileupload.js实现ajax异步上传
- 02.java语言基础-引出变量
- 计算广告学习笔记 4.1竞价广告系统-位置拍卖理论
- java的DatagramSocket和DatagramPackage
- namenode启动报错:There appears to be a gap in the edit log. We expected txid 1, but got txid 16
- Kotlin的hello world
- 切换头像,拍照或者相册选择后剪裁
- java实现GP数据库导入导出工具类,程序可以和gp在不同机器上
- Swift The file “” couldn’t be opened because you don’t have permission to view it?
- PAT 甲级 1014. Waiting in Line
- 禁止右滑触发当前控制器的pop方法
- kotlin(3):类和对象以及其他的概念属性
- 阿里巴巴开源框架Weex学习填坑记录