Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2812

When becoming active, NN should treat all leases as freshly renewed

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: HA branch (HDFS-1623)
    • Fix Version/s: HA branch (HDFS-1623)
    • Component/s: ha, namenode
    • Labels:
      None

      Description

      I haven't seen this yet in practice, but I think the following is a bug:

      • Clients currently only renew leases to the active NN
      • Leases are written into the log when created, but there is no record to renew them
      • In Standby state, we don't check leases for expiration. But, when we fail over and start the lease monitor, since the leases haven't been renewed, they might end up getting incorrectly released.

        Attachments

        1. hdfs-2812.txt
          8 kB
          Todd Lipcon
        2. hdfs-2812.txt
          8 kB
          Todd Lipcon

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: