hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4746) ClassCastException in BlockManager.addStoredBlock() due to that blockReceived came after file was closed.
Date Wed, 24 Apr 2013 22:53:16 GMT
Konstantin Shvachko created HDFS-4746:
-----------------------------------------

             Summary: ClassCastException in BlockManager.addStoredBlock() due to that blockReceived
came after file was closed.
                 Key: HDFS-4746
                 URL: https://issues.apache.org/jira/browse/HDFS-4746
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 2.0.3-alpha
            Reporter: Konstantin Shvachko


In some cases the last block replica of a file can be reported after the file was closed.
In this case file inode is of type INodeFile. BlockManager.addStoredBlock() though expects
it to be INodeFileUnderConstruction, and therefore class cast to MutableBlockCollection fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message