|
[
Permlink
| « Hide
]
Tsz Wo (Nicholas), SZE added a comment - 13/May/08 01:08 AM
Also, lease related structure should store names and paths as String instead of StringBytesWritable. It will prevent unnecessary converting between String and StringBytesWritable.
3375_20080512.patch: fixed sortedLeasesByPath and removed StringBytesWritable.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381917/3375_20080512.patch against trunk revision 655674. +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/2454/testReport/ This message is automatically generated. Nicholas reports that this may result in the loss of a lease record for every task that creates a file. This is a new problem not present in 0.16.
Not a 0.17 problem after all (only trunk). I'm sorry for the confusion.
+1 code looks good. Is there a way to enhance an existing unit test to catch this situation?
3375_20080514.patch: added a test
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12382068/3375_20080514.patch against trunk revision 656270. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 4 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/2471/testReport/ This message is automatically generated. 3375_20080519.patch: reverted the change of removing StringBytesWritable since it needs more thought.
I like the latest patch better since it does not affect the disk format. Changing the StringBytesWritbale is bets done in a separate patch.
> Changing the StringBytesWritbale is bets done in a separate patch.
Yes, I plan to create another issue for removing StringBytesWritbale which was introduced in 3375_20080520.patch: updated javadoc
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12382400/3375_20080520.patch against trunk revision 658035. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 4 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 failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2504/testReport/ This message is automatically generated. Two tests failed but none of them is related to the patch.
I just committed this. Thanks Nicholas!
Integrated in Hadoop-trunk #499 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/499/
> Yes, I plan to create another issue for removing StringBytesWritbale which was introduced in
Created |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||