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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: