accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [3/8] git commit: ACCUMULO-3106 Improve the warning message about gc pauses
Date Thu, 11 Sep 2014 06:30:36 GMT
ACCUMULO-3106 Improve the warning message about gc pauses


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

Branch: refs/heads/master
Commit: c335fca72e403123053efb1c467ef9b889a2077b
Parents: 0a5ceca
Author: Josh Elser <elserj@apache.org>
Authored: Wed Sep 10 23:13:38 2014 -0700
Committer: Josh Elser <elserj@apache.org>
Committed: Wed Sep 10 23:13:38 2014 -0700

----------------------------------------------------------------------
 .../org/apache/accumulo/server/tabletserver/TabletServer.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c335fca7/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
b/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
index 1e3e1b1..73834e3 100644
--- a/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
+++ b/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
@@ -329,7 +329,8 @@ public class TabletServer extends AbstractMetricsImpl implements org.apache.accu
     if (lastMemoryCheckTime > 0 && lastMemoryCheckTime < now) {
       long diff = now - lastMemoryCheckTime;
       if (diff > 2 * TIME_BETWEEN_GC_CHECKS) {
-        log.warn(String.format("Check for long GC pauses not called in a timely fashion %.1f",
diff / 1000.));
+        log.warn(String.format("Check for long GC pauses not called in a timely fashion.
Expected every %.1f seconds but was %.1f seconds since last check",
+                    TIME_BETWEEN_GC_CHECKS / 1000., diff / 1000.));
       }
       lastMemoryCheckTime = now;
       return;


Mime
View raw message