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

(cherry picked from commit 1ed9fb7664)
This commit is contained in:
Vinayakumar B 2015-03-30 10:02:48 +05:30
parent 7aded71f3a
commit 9f49b3e93d
2 changed files with 4 additions and 1 deletions

View File

@ -38,6 +38,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 @@ public class RollingWindowManager {
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;
}