|
Suresh Srinivas made changes - 28/May/09 05:45 PM
Uploading a newer patch. Previous patch the unit test does not compile.
Suresh Srinivas made changes - 29/May/09 12:23 AM
I will be out of office June 12.
-Gary
Unfortunately HashMap access to capacity and loadFactor is package private. Beats me why that was the choice made. The hashmap implementation is closely tied to capacity being multiple of two and the code added that calculates capacity should be future proof. I will make the other counters volatile. Uploaded patch incorporates changes suggested
Suresh Srinivas made changes - 08/Jun/09 11:56 PM
I see, the methods are not accessible in HashMap, so although ugly there is no other way around but to dub them in our code.
+1
Suresh Srinivas made changes - 10/Jun/09 07:14 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12410190/stats.1.patch against trunk revision 784318. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 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 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 failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/497/testReport/ This message is automatically generated. The failed tests are unrelated to this patch:
I just committed this. Thank you Suresh.
Konstantin Shvachko made changes - 15/Jun/09 11:32 PM
Tsz Wo (Nicholas), SZE made changes - 16/Jun/09 11:30 PM
Integrated in Hadoop-trunk #869 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/869/
Attaching a back porting patch as this change is required on release 20.
Suresh Srinivas made changes - 26/Jun/09 05:41 PM
Patch passes all the unit tests.
+1
Committed to branch 0.20. Integrated in Hadoop-Common-trunk #9 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/9/
. Promote new name-node metrics to branch 0.20.
Owen O'Malley made changes - 08/Jul/09 04:43 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The new metrics indicates the data structures that can grow to large size and will help in corelating the heap growth indicated in GC logs.