|
Changed names of Transactions from Openlease/CloseLease to Open/Close. Removed DatanodeDescriptors from fsimage.
Incorporated all of Konstantin's comments except 10 and 15.
I like the serialization code in INodeUnderConstruction, especially because it writes the serialized information to the transaction log. Submitting for HadoopQA tests (pending final round of review from Konstantin).
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12375208/AppendTransactions3.patch against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 6 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac -1. The applied patch generated 633 javac compiler warnings (more than the trunk's current 612 warnings). release audit +1. The applied patch does not generate any new release audit warnings. findbugs -1. The patch appears to introduce 1 new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1769/testReport/ This message is automatically generated. Incorporated #15 from Konstantin's list of review comments.
This patch will have a few javac compiler warnings because it uses UTF8 to serialize leases to the transaction log.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12375292/AppendTransactions4.patch against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 6 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac -1. The applied patch generated 629 javac compiler warnings (more than the trunk's current 608 warnings). release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1779/testReport/ This message is automatically generated.
FSEditLog.OP_SET_GENERATIONSTAMP has to use writables because the transactions are written using FSEditLog.logEdit(). This method allows writables to be written to the edit log.
I made changes (2) and (3) described above. Thanks Konstantin for your review comments. -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12375533/AppendTransactions5.patch against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 6 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac -1. The applied patch generated 624 javac compiler warnings (more than the trunk's current 603 warnings). release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1793/testReport/ This message is automatically generated. Integrated in Hadoop-trunk #400 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/400/
Integrated in Hadoop-trunk #412 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/412/
Noted as incompatible in changes.txt
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1. A client can continue to write to a DFSOutputStream even if the namenode restarts! This patch persist leases in the transaction log. Persisting leases is a pre-requisite for correct error recovery for the HDFS file-append feature.
2. A new method NameNode.fsync() that lets a client persist metadata for a file into transaction log.