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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: