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

CreateEditsLog creates inodes with an invalid inode ID, which then cannot be loaded by a namenode.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-beta, 3.0.0-alpha1
    • 2.1.0-beta
    • test
    • None
    • Reviewed

    Description

      CreateEditsLog#addFiles always creates inodes with ID hard-coded to INodeId#GRANDFATHER_INODE_ID. At initialization time, namenode will not load the resulting edits, because this is an invalid inode ID.

      Attachments

        1. HDFS-4927.1.patch
          7 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: