HADOOP-16248. MutableQuantiles leak memory under heavy load.

Contributed by Alexis Daboville,
This commit is contained in:
Alexis Daboville 2019-05-17 15:15:22 +01:00 committed by Steve Loughran
parent c183bd8e20
commit 4cb3da6ac7
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 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);
}