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

During edit log loading, an underconstruction file's lease gets removed twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • None
    • None
    • Reviewed

    Description

      The lease is removed on line 605: old = fsDir.unprotected(path, mtime);
      It then gets removed again on line 637: fsNamesys.leaseManager.removeLease(cons.clientName, path);

      The second removal results in an error message in the log, which is very annoying.

      Attachments

        1. editLogLease.patch
          0.9 kB
          Hairong Kuang
        2. editLogLease1.patch
          2 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: