HDFS-7890. Improve information on Top users for metrics in RollingWindowsManager and lower log level (Contributed by J.Andreina)
This commit is contained in:
parent
232eca944a
commit
1ed9fb7664
|
@ -353,6 +353,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-6408. Remove redundant definitions in log4j.properties.
|
HDFS-6408. Remove redundant definitions in log4j.properties.
|
||||||
(Abhiraj Butala via aajisaka)
|
(Abhiraj Butala via aajisaka)
|
||||||
|
|
||||||
|
HDFS-7890. Improve information on Top users for metrics in
|
||||||
|
RollingWindowsManager and lower log level (J.Andreina via vinayakumarb)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -245,7 +245,7 @@ public class RollingWindowManager {
|
||||||
metricName, userName, windowSum);
|
metricName, userName, windowSum);
|
||||||
topN.offer(new NameValuePair(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;
|
return topN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue