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:
parent
7aded71f3a
commit
9f49b3e93d
|
@ -38,6 +38,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