[ http://issues.apache.org/jira/browse/HADOOP-829?page=all ]
Doug Cutting updated HADOOP-829:
--------------------------------
Status: Resolved (was: Patch Available)
Fix Version/s: 0.10.0
Resolution: Fixed
I just committed this. Thanks, Dhruba!
> Separate the datanode contents that is written to the fsimage vs the contents
> used in over-the-wire communication
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-829
> URL: http://issues.apache.org/jira/browse/HADOOP-829
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assigned To: dhruba borthakur
> Fix For: 0.10.0
>
> Attachments: datanodeserialize1.patch
>
>
> In the existing implementation, the Namenode has a data structure called
> DatanodeDescriptor. It is used to serialize contents of the Datanode while
> writing it to the fsimage. The same serialization method is used to send a
> Datanode object to the Datanode and/or the Client. This introduces the
> shortcoming that one cannot introduce non-persistent fields in the
> DatanodeDescriptor.
> One solution is to separate out the following two functionality into two
> separate classes:
> 1. The fields from a Datanode that are part of the ClientProtocol and/or
> DatanodeProcotol.
> 2. The fields from a Datanode that are stored in the fsImage.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira