在启动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启动报错:There appears to be a gap in the edit log. We expected txid 1, but got txid 16相关推荐

  1. 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 原因: na ...

  2. NameNode 启动失败 - There appears to be a gap in the edit log. We expected txid xxx, but got tx

    场景 NameNode迁移,导致一个节点无法启动 异常 在Namenode主动迁移,或者Namenode机器挂掉无法恢复时,我们需要Namenode节点迁移,迁移经常会出现一个NameNode启动成功 ...

  3. namenode启动报错,There appears to be a gap in the edit log. We expected txid 54314, but got txid 54452.

    今天在启动hadoop集群的时候发现两个namenode节点都没启动,然后去查启动日志的时候发现报错如下: There appears to be a gap in the edit log.  We ...

  4. namenode无法启动,There appears to be a gap in the edit log. We expected txid 10323, but got txid 10324.

    namenode进程中出现如下报错信息 There appears to be a gap in the edit log.  We expected txid 10323, but got txid ...

  5. namenode节点起不来java.io.IOException: There appears to be a gap in the edit log. We expected txid 1, bu

    解决方法 原因:namenode元数据被破坏,需要修复 解决:恢复一下namenode hadoop namenode -recover 问题描述: 启动namenode时 没有反应并且jps命令没有 ...

  6. 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 1, but got txid 16 ...

  7. There appears to be a gap in the edit log. We expected txid 867311, but got txid 867402.

    项目场景: 集群断电之后重启集群,namenode启动失败,去hadoop安装目录差看日志 /hadoop/logs 发现There appears to be a gap in the edit l ...

  8. There appears to be a gap in the edit log. We expected txid 2289, but got txid 2859.

    错误信息: 2016-09-20 11:48:52,409 WARN org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Encountered ...

  9. hadoop 报错 java.io.IOException: There appears to be a gap in the edit log. We expected txid 1, but g

    原因: namenode元数据被破坏,需要修复 解决: 恢复一下namenodehadoop namenode –recover选择Y选择c ok! 我也是醉了!!

最新文章

  1. Nginx 之父被拘留,时隔15年后,前老板提起了版权侵权诉讼!
  2. java游戏加入图片,急!急!求大神给这个小游戏加个背景图片
  3. Cocos2d-x Touch事件处理机制
  4. 各种编码范围总结以及linux下面的编码批量转化
  5. 7.4.7 2DPCA
  6. 基于app_inventor的手机aap与单片机蓝牙互联教程
  7. 电路分析 极简复习指导、公式推导、常用结论归纳 第十章 含有耦合电感的电路
  8. Hello CTP(七)——REM交易API
  9. 零基础小白如何系统的自学网络安全(包含学习路线、工作方向)
  10. iterable、iterator和iter()
  11. ZigBee传感数据采集实验
  12. 无忧计算机二级试题题库,计算机等级考试题库,二级Web试题
  13. 摄像机(Camera)
  14. Transformer课程 第8课NER案例代码笔记-部署简介
  15. 树的递归与非递归遍历算法
  16. Lingo 中的各种函数
  17. 个人能力知识体系如何构建?
  18. 解决Pycharm装Illuminated Cloud之后无法创建项目的思路_艾孜尔江撰稿
  19. 微信多平台版本日志大全.2021-12-17
  20. oracle ebs r12 打补丁的步骤

热门文章

  1. 亲民地理35期-雨中登泰山
  2. Win10 Outlook打不开,无法启动Microsoft Outlook。无法打开Outlook窗口。无法打开此文件夹集合。客户端操作失败
  3. 读书笔记(VII) 人生五大问题
  4. ECONOMICS REPORT - The United States Postal Service Warns of Default
  5. 大数据技术具备哪些特点
  6. 融合通信(中移动)----微信的强力竞争者来了----阿冬专栏!!!
  7. matplotlib库的pyplot的plot()函数详解
  8. ThreeJS - 直接设置Fbx模型的某个关节的位移和旋转值
  9. USB over Network通过本地网络或 Internet 共享的远程 USB 设备
  10. 检测用户中的异常--UEBA方法