|
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12392453/h4276.patch against trunk revision 706417. +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 Eclipse classpath. The patch retains Eclipse classpath integrity. +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/3501/testReport/ This message is automatically generated. This looks good. Just a few suggestions/nits:
Addressed Chris' comments, except that I left the redundant else, which makes the return paths symmetric. I also used appendTo instead of appendIdTo, which seems more awkward.
Integrated in Hadoop-trunk #641 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/641/
. Improve the hashing functions and deserialization of the mapred ID classes. (omalley) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1. Removes the string generation during hashing of id objects.
2. Reuses the id objects during readFields.
3. Defines a protected field for SEPARATOR and removes UNDERLINE.
4. Replace the toStringWOPrefix methods with addId that will reuse the same StringBuilder, which is more efficient.
5. Store the jtIdentifier as Text so that it doesn't need to be encoded for sending across RPC.