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

checkLease should throw FileNotFoundException when file does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.22.0, 2.0.0-alpha
    • 2.8.0, 3.0.0-alpha1
    • namenode
    • None
    • 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 Radhakrishnan
        2. HDFS-2484.01.patch
          5 kB
          Rakesh Radhakrishnan
        3. HDFS-2484.00.patch
          3 kB
          Rakesh Radhakrishnan

        Activity

          People

            rakeshr Rakesh Radhakrishnan
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: