Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8576

Lease recovery should return true if the lease can be released and the file can be closed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      FSNamesystem#recoverLease , returns false eventhough lease recover happens.
      Hence only on second retry for recovering lease on a file ,returns success after checking if the file is not underconstruction.

        Attachments

        1. HDFS-8576.1.patch
          6 kB
          J.Andreina
        2. HDFS-8576.2.patch
          6 kB
          J.Andreina

          Activity

            People

            • Assignee:
              andreina J.Andreina
              Reporter:
              andreina J.Andreina
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: