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. hdfs-1149.2.patch
        30 kB
        Aaron T. Myers
      2. hdfs-1149.1.patch
        30 kB
        Aaron T. Myers
      3. hdfs-1149.1.patch
        30 kB
        Aaron T. Myers
      4. hdfs-1149.0.patch
        20 kB
        Aaron T. Myers
      5. editsStored
        2 kB
        Aaron T. Myers

        Issue Links

          Activity

          Todd Lipcon created issue -
          Todd Lipcon made changes -
          Field Original Value New Value
          Link This issue is related to HDFS-1142 [ HDFS-1142 ]
          Todd Lipcon made changes -
          Link This issue relates to HDFS-1623 [ HDFS-1623 ]
          Aaron T. Myers made changes -
          Assignee Aaron T. Myers [ atm ]
          Aaron T. Myers made changes -
          Attachment hdfs-1149.0.patch [ 12481177 ]
          Aaron T. Myers made changes -
          Fix Version/s 0.23.0 [ 12315571 ]
          Affects Version/s 0.22.0 [ 12314241 ]
          Affects Version/s 0.23.0 [ 12315571 ]
          Aaron T. Myers made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Aaron T. Myers made changes -
          Attachment hdfs-1149.1.patch [ 12481595 ]
          Attachment editsStored [ 12481596 ]
          Aaron T. Myers made changes -
          Attachment hdfs-1149.1.patch [ 12481598 ]
          Aaron T. Myers made changes -
          Attachment hdfs-1149.2.patch [ 12481613 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue relates to HDFS-3181 [ HDFS-3181 ]

            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