hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-5741) In Datanode, update block may fail due to length inconsistency
Date Fri, 24 Apr 2009 18:23:30 GMT
In Datanode, update block may fail due to length inconsistency
--------------------------------------------------------------

                 Key: HADOOP-5741
                 URL: https://issues.apache.org/jira/browse/HADOOP-5741
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
            Reporter: Tsz Wo (Nicholas), SZE


When a primary datanode tries to recover a block.  It calls getBlockMetaDataInfo(..) to obtains
information like block length from each datanode.  Then, it calls updateBlock(..).

The block length returned in getBlockMetaDataInfo(..) may be obtained from a unclosed local
block file F.   However, in updateBlock(..), it first closes F (if F is open) and then gets
the length.  These two lengths may be different.  In such case, updateBlock(..) throws an
exception.

-- 
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