HADOOP-16248. MutableQuantiles leak memory under heavy load.

Contributed by Alexis Daboville,

(cherry picked from commit 4cb3da6ac7)
This commit is contained in:
Alexis Daboville 2019-05-17 15:15:22 +01:00 committed by Steve Loughran
parent cf0d5a0e6e
commit 55cc35c0e1
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}