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

Lease reassignment is not persisted to edit log

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.22.0, 0.23.0
    • 0.23.0
    • namenode
    • None
    • Reviewed

    Description

      During lease recovery, the lease gets reassigned to a special NN holder. This is not currently persisted to the edit log, which means that after an NN restart, the original leaseholder could end up allocating more blocks or completing a file that has already started recovery.

      Attachments

        1. hdfs-1149.2.patch
          30 kB
          Aaron Myers
        2. hdfs-1149.1.patch
          30 kB
          Aaron Myers
        3. hdfs-1149.1.patch
          30 kB
          Aaron Myers
        4. hdfs-1149.0.patch
          20 kB
          Aaron Myers
        5. editsStored
          2 kB
          Aaron Myers

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            atm Aaron Myers
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment