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

checkLease should throw FileNotFoundException when file does not exist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 2.0.0-alpha
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      When file is deleted during its creation FSNamesystem.checkLease(String src, String holder) throws LeaseExpiredException. It would be more informative if it thrown FileNotFoundException.

        Attachments

        1. HDFS-2484.02.patch
          4 kB
          Rakesh R
        2. HDFS-2484.01.patch
          5 kB
          Rakesh R
        3. HDFS-2484.00.patch
          3 kB
          Rakesh R

          Activity

            People

            • Assignee:
              rakeshr Rakesh R
              Reporter:
              shv Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: