You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Shvachko (Created) (JIRA)" <ji...@apache.org> on 2011/10/21 09:54:32 UTC

[jira] [Created] (HDFS-2484) checkLease should throw FileNotFoundException when file does not exist

checkLease should throw FileNotFoundException when file does not exist
----------------------------------------------------------------------

                 Key: HDFS-2484
                 URL: https://issues.apache.org/jira/browse/HDFS-2484
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 0.22.0, 0.24.0
            Reporter: Konstantin Shvachko


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira