You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2019/05/17 14:28:13 UTC

[hadoop] branch branch-2.9 updated: HADOOP-16248. MutableQuantiles leak memory under heavy load.

This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-2.9 by this push:
     new 6c5db73  HADOOP-16248. MutableQuantiles leak memory under heavy load.
6c5db73 is described below

commit 6c5db738dbd6640e96c72d00b537926c62bfc8bf
Author: Alexis Daboville <al...@gmail.com>
AuthorDate: Fri May 17 15:15:22 2019 +0100

    HADOOP-16248. MutableQuantiles leak memory under heavy load.
    
    Contributed by Alexis Daboville,
    
    (cherry picked from commit 4cb3da6ac703b10de59a8ca371fe957a4a338601)
---
 .../src/main/java/org/apache/hadoop/metrics2/lib/MutableQuantiles.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableQuantiles.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableQuantiles.java
index cc32975..eee72be 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableQuantiles.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableQuantiles.java
@@ -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);
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org