hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-812) FSNamesystem#internalReleaseLease will throw ArrayIndexOutOfBoundException on an empty file's lease recovery
Date Mon, 07 Dec 2009 18:17:19 GMT
FSNamesystem#internalReleaseLease will throw ArrayIndexOutOfBoundException on an empty file's
lease recovery
------------------------------------------------------------------------------------------------------------

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


{{FSNamesystem.internalReleaseLease()}} uses the result of {{iFile#numBlocks();}} call to
get a number of an under construction file's blocks. {{numBlock()}} can return 0 if the file
doesn't have any blocks yet. This will cause {{internalReleaseLease()}} to throw ArrayIndexOutOfBoundException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message