Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3176

Change lease record when a open-for-write-file gets renamed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When a file/directory is removed, the namenode should repair the leases so that the existing leases point to the appropriate file. The lease record has the pathname of the file that it refers to.

      This is required because the namenode has to invoke lease-recovery on the correct file if the client that was writing to a file dies.

        Attachments

        1. danglingLease2.patch
          11 kB
          Dhruba Borthakur
        2. danglingLease.patch
          13 kB
          Dhruba Borthakur

          Issue Links

            Activity

              People

              • Assignee:
                dhruba Dhruba Borthakur
                Reporter:
                dhruba Dhruba Borthakur
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: