HDFS-7890. Improve information on Top users for metrics in RollingWindowsManager and lower log level (Contributed by J.Andreina)

This commit is contained in:
Vinayakumar B 2015-03-30 10:02:48 +05:30
parent 232eca944a
commit 1ed9fb7664
2 changed files with 4 additions and 1 deletions

View File

@ -353,6 +353,9 @@ Release 2.8.0 - UNRELEASED
HDFS-6408. Remove redundant definitions in log4j.properties.
(Abhiraj Butala via aajisaka)
HDFS-7890. Improve information on Top users for metrics in
RollingWindowsManager and lower log level (J.Andreina via vinayakumarb)
OPTIMIZATIONS
BUG FIXES

View File

@ -245,7 +245,7 @@ private TopN getTopUsersForMetric(long time, String metricName,
metricName, userName, windowSum);
topN.offer(new NameValuePair(userName, windowSum));
}
LOG.info("topN size for command {} is: {}", metricName, topN.size());
LOG.debug("topN users size for command {} is: {}", metricName, topN.size());
return topN;
}