From 6f60f21711da4962a3cffa87a791bb6187720e35 Mon Sep 17 00:00:00 2001 From: Ted Yu Date: Sat, 26 Jul 2014 04:33:14 +0000 Subject: [PATCH] HBASE-11588 RegionServerMetricsWrapperRunnable misused the 'period' parameter (Victor Xu) --- .../hbase/regionserver/MetricsRegionServerWrapperImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java index ef6bc8c4410..36548351bb9 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java @@ -419,7 +419,7 @@ class MetricsRegionServerWrapperImpl // assume that it took PERIOD seconds to start the executor. // this is a guess but it's a pretty good one. if (lastRan == 0) { - lastRan = currentTime - (period * 1000); + lastRan = currentTime - period; }