org.apache.hadoop.hdfs.server.namenode.RedundantEditLogInputStream$PrematureEOFException: got premature end-of-file at txid 827872; expected file to go up to 827874

Stack Overflow | nkt | 2 months ago
  1. 0

    Error reading edit log in hadoop namenode

    Stack Overflow | 2 months ago | nkt
    org.apache.hadoop.hdfs.server.namenode.RedundantEditLogInputStream$PrematureEOFException: got premature end-of-file at txid 827872; expected file to go up to 827874

    Root Cause Analysis

    1. org.apache.hadoop.hdfs.server.namenode.RedundantEditLogInputStream$PrematureEOFException

      got premature end-of-file at txid 827872; expected file to go up to 827874

      at org.apache.hadoop.hdfs.server.namenode.RedundantEditLogInputStream.nextOp()
    2. Apache Hadoop HDFS
      EditLogTailer$EditLogTailerThread$1.run
      1. org.apache.hadoop.hdfs.server.namenode.RedundantEditLogInputStream.nextOp(RedundantEditLogInputStream.java:194)
      2. org.apache.hadoop.hdfs.server.namenode.EditLogInputStream.readOp(EditLogInputStream.java:85)
      3. org.apache.hadoop.hdfs.server.namenode.EditLogInputStream.skipUntil(EditLogInputStream.java:151)
      4. org.apache.hadoop.hdfs.server.namenode.RedundantEditLogInputStream.nextOp(RedundantEditLogInputStream.java:178)
      5. org.apache.hadoop.hdfs.server.namenode.EditLogInputStream.readOp(EditLogInputStream.java:85)
      6. org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:190)
      7. org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:143)
      8. org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:837)
      9. org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:818)
      10. org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer.doTailEdits(EditLogTailer.java:232)
      11. org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer$EditLogTailerThread.doWork(EditLogTailer.java:331)
      12. org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer$EditLogTailerThread.access$200(EditLogTailer.java:284)
      13. org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer$EditLogTailerThread$1.run(EditLogTailer.java:301)
      13 frames
    3. Hadoop
      SecurityUtil.doAsLoginUserOrFatal
      1. org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:415)
      1 frame
    4. Apache Hadoop HDFS
      EditLogTailer$EditLogTailerThread.run
      1. org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer$EditLogTailerThread.run(EditLogTailer.java:297)
      1 frame