Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1149

Lease reassignment is not persisted to edit log

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0, 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Aaron T. Myers
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development