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

View File

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