You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Robert Chansler (JIRA)" <ji...@apache.org> on 2008/07/22 19:49:31 UTC

[jira] Updated: (HADOOP-3329) DatanodeDescriptor objects stored in FSImage may be out dated.

     [ https://issues.apache.org/jira/browse/HADOOP-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-3329:
------------------------------------

    Release Note: Changed format of file system image to not store locations of last block.  (was: The file system image file does not store block locations of the last block of a file.)
    Hadoop Flags: [Incompatible change, Reviewed]  (was: [Reviewed, Incompatible change])

> DatanodeDescriptor objects stored in FSImage may be out dated.
> --------------------------------------------------------------
>
>                 Key: HADOOP-3329
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3329
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: dhruba borthakur
>             Fix For: 0.18.0
>
>         Attachments: lastBlockLocations.patch
>
>
> INodeFileUnderConstruction.targets is a DatanodeDescriptor array which stores the locations for last block.  These DatanodeDescriptors are serialized and stored in the FSImage.  However, a DatanodeDescriptor contains information like IP address and ports.  These information may be out dated after a datanode restart.
> We should probably only stored the storageID of a DatanodeDescriptor in FSImage and then lookup the DatanodeDescriptor object from the datanodeMap.

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