accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [2/3] accumulo git commit: ACCUMULO-3693 make sure theres a whole second to complain about
Date Mon, 23 Mar 2015 21:00:12 GMT
ACCUMULO-3693 make sure theres a whole second to complain about


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/43e90022
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/43e90022
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/43e90022

Branch: refs/heads/master
Commit: 43e90022e38d879c0ec6bfdb0547964a8a4c7dec
Parents: 4fe86be
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Mon Mar 23 16:48:28 2015 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Mon Mar 23 16:48:28 2015 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/accumulo/tserver/TabletServer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/43e90022/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
----------------------------------------------------------------------
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
index dbececd..4de42a7 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
@@ -357,7 +357,7 @@ public class TabletServer extends AbstractMetricsImpl implements org.apache.accu
     final long keepAliveTimeout = conf.getTimeInMillis(Property.INSTANCE_ZK_TIMEOUT);
     if (lastMemoryCheckTime > 0 && lastMemoryCheckTime < now) {
       long diff = now - lastMemoryCheckTime;
-      if (diff > keepAliveTimeout) {
+      if (diff > keepAliveTimeout + 1000) {
         log.warn(String.format("GC pause checker not called in a timely fashion. Expected
every %.1f seconds but was %.1f seconds since last check",
             TIME_BETWEEN_GC_CHECKS / 1000., diff / 1000.));
       }


Mime
View raw message