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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.1, 3.0.0-alpha1
    • namenode
    • None
    • 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.2.patch
          6 kB
          J.Andreina
        2. HDFS-8576.1.patch
          6 kB
          J.Andreina

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: