HDFS-5144. Merge r1518895 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1518896 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2013-08-30 07:20:50 +00:00
parent f83da5780c
commit ce623c2ce8
2 changed files with 7 additions and 2 deletions

View File

@ -8,6 +8,9 @@ Release 2.3.0 - UNRELEASED
IMPROVEMENTS
HDFS-5144. Document time unit to NameNodeMetrics. (Akira Ajisaka via
suresh)
OPTIMIZATIONS
BUG FIXES

View File

@ -80,8 +80,10 @@ public class NameNodeMetrics {
@Metric("Block report") MutableRate blockReport;
MutableQuantiles[] blockReportQuantiles;
@Metric("Duration in SafeMode at startup") MutableGaugeInt safeModeTime;
@Metric("Time loading FS Image at startup") MutableGaugeInt fsImageLoadTime;
@Metric("Duration in SafeMode at startup in msec")
MutableGaugeInt safeModeTime;
@Metric("Time loading FS Image at startup in msec")
MutableGaugeInt fsImageLoadTime;
NameNodeMetrics(String processName, String sessionId, int[] intervals) {
registry.tag(ProcessName, processName).tag(SessionId, sessionId);