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