Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2991

failure to load edits: ClassCastException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 2.0.0-alpha
    • Fix Version/s: 0.22.1
    • Component/s: namenode
    • Labels:
      None

      Description

      In doing scale testing of trunk at r1291606, I hit the following:

      java.io.IOException: Error replaying edit log at offset 1354251
      Recent opcode offsets: 1350014 1350176 1350312 1354251
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:418)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:93)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:79)
      ...
      Caused by: java.lang.ClassCastException: org.apache.hadoop.hdfs.server.namenode.INodeFile cannot be cast to org.apache.hadoop.hdfs.server.namenode.INodeFileUnderConstruction
      at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:213)
      ... 13 more

        Attachments

        1. hdfs-2991-0.22.txt
          6 kB
          Konstantin Shvachko
        2. hdfs-2991.txt
          16 kB
          Todd Lipcon
        3. hdfs-2991.txt
          16 kB
          Todd Lipcon
        4. image-with-buggy-append.tgz
          2 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: