HBASE-19450 Addendum Limit logging of chore execution time at INFO to once per 5...
commitb292ffd14df7d4c8a516d13f76283d6d0bd7fd28
authorSean Busbey <busbey@apache.org>
Sat, 16 Nov 2019 02:34:54 +0000 (15 20:34 -0600)
committerSean Busbey <busbey@apache.org>
Sat, 16 Nov 2019 15:38:44 +0000 (16 09:38 -0600)
treeabbc0d2795e525122e0c1fd8a7ebdaa897331128
parente60764f5a197540d06efd42c5dc7e936afe0af74
HBASE-19450 Addendum Limit logging of chore execution time at INFO to once per 5 minutes.

* Ensure MovingAverage related classes are IA.Private
* Move trace logging into MovingAverage class

Signed-off-by: Duo Zhang <zhangduo@apache.org>
hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java
hbase-common/src/main/java/org/apache/hadoop/hbase/util/ExponentialMovingAverage.java
hbase-common/src/main/java/org/apache/hadoop/hbase/util/MovingAverage.java
hbase-common/src/main/java/org/apache/hadoop/hbase/util/SimpleMovingAverage.java
hbase-common/src/main/java/org/apache/hadoop/hbase/util/TimeMeasurable.java
hbase-common/src/main/java/org/apache/hadoop/hbase/util/WeightedMovingAverage.java
hbase-common/src/main/java/org/apache/hadoop/hbase/util/WindowMovingAverage.java
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestMovingAverage.java