HADOOP-16248. MutableQuantiles leak memory under heavy load.
Contributed by Alexis Daboville,
(cherry picked from commit 4cb3da6ac7
)
This commit is contained in:
parent
cf0d5a0e6e
commit
55cc35c0e1
|
@ -107,7 +107,7 @@ public class MutableQuantiles extends MutableMetric {
|
|||
estimator = new SampleQuantiles(quantiles);
|
||||
|
||||
this.interval = interval;
|
||||
scheduledTask = scheduler.scheduleAtFixedRate(new RolloverSample(this),
|
||||
scheduledTask = scheduler.scheduleWithFixedDelay(new RolloverSample(this),
|
||||
interval, interval, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue