HADOOP-16248. MutableQuantiles leak memory under heavy load.
Contributed by Alexis Daboville, (cherry picked from commit 4cb3da6ac703b10de59a8ca371fe957a4a338601)
This commit is contained in:
parent
55603529d0
commit
3f05b699ef
@ -107,7 +107,7 @@ public MutableQuantiles(String name, String description, String sampleName,
|
||||
estimator = new SampleQuantiles(quantiles);
|
||||
|
||||
this.interval = interval;
|
||||
scheduledTask = scheduler.scheduleAtFixedRate(new RolloverSample(this),
|
||||
scheduledTask = scheduler.scheduleWithFixedDelay(new RolloverSample(this),
|
||||
interval, interval, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user