hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2484) checkLease should throw FileNotFoundException when file does not exist
Date Fri, 21 Oct 2011 07:54:32 GMT
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

        

Mime
View raw message