namenode启动报错:There appears to be a gap in the edit log. We expected txid 1, but got txid 16
2017-06-07 15:33
405 查看
在启动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
进行所有节点进程全启动.
这种错误表示:该节点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
进行所有节点进程全启动.
相关文章推荐
- hadoop错误FATAL org.apache.hadoop.hdfs.server.namenode.NameNode Exception in namenode join java.io.IOException There appears to be a gap in the edit log
- hadoop2.0报错“There appears to be a gap in the edit log”
- 【转】断电或强制退出后VMware虚拟机出现The virtual machine appears to be in use无法启动问题解决
- 【Visual Studio】The project appears to be under source control, but the associated source control plug-in is not installed on this computer
- 【报错】项目启动,仅仅报错 One or more listeners failed to start. Full details will be found in the appropriate container log file
- 断电或强制退出后VMware虚拟机出现The virtual machine appears to be in use无法启动问题解决
- 断电或强制退出后VMware虚拟机出现The virtual machine appears to be in use无法启动问题解决
- The goal you specified requires a project to execute but there is no POM in 错误
- The virtual machine appears to be in use (VMWare)
- HDU 4627 There are many unsolvable problem in the world.It could be about one or about zero.But this time it is about bigger number.
- 亚马逊服务器(Linux 3.13.6)A very large skb can span too many pages (more than 16) to be put in the driver
- The operation couldn’t be completed. Unable to log in with account ''
- ReactJs 报错 Element type is invalid: expected a string (from built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `Me`.
- 在启动vmware的时候。报错说This virtual machine appears to be in use
- Tomorrow I will fly......but I will return in the future, of course, to be by your side
- appears more than once in the keychain The codesign tool requires there only be one
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- poi 3.8 使用xssf 仍然报错:The supplied data appears to be in the Office 2007+ XML. Yo
- 启动hadoop报192.168.1.151: Address 192.168.1.151 maps to node1, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
- The supplied data appears to be in the Office 2007+ XML