|
[
Permlink
| « Hide
]
dhruba borthakur added a comment - 06/May/08 06:08 AM
I think it is worthwhile to not store the DatanodeDescriptor in the fsimage at all. The "append" code needs the location of the last block of the file to do lease recovery. In the case when the namenode restarts and before it does lease recovery, it will get the block locations of the last block from datanodes as part of block reports.
This patch removes the last block locations that were earlier stored in each persistent lease record.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381486/lastBlockLocations.patch against trunk revision 653749. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2411/testReport/ This message is automatically generated. +1 codes look good
Integrated in Hadoop-trunk #486 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/486/
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||