hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject hbase git commit: HBASE-16289 AsyncProcess stuck messages need to print region/server
Date Fri, 29 Jul 2016 04:16:21 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 9db09fc93 -> 60b02ec24


HBASE-16289 AsyncProcess stuck messages need to print region/server


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

Branch: refs/heads/branch-1.2
Commit: 60b02ec2449e1c7793340d9a9811db8cfd9004af
Parents: 9db09fc
Author: Yu Li <liyu@apache.org>
Authored: Fri Jul 29 11:21:42 2016 +0800
Committer: Yu Li <liyu@apache.org>
Committed: Fri Jul 29 12:04:36 2016 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/60b02ec2/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
index d72f0e7..0f1fd58 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
@@ -1654,7 +1654,11 @@ class AsyncProcess {
         if (!hasWait) { // Only log if wait is infinite.
           if (now > lastLog + 10000) {
             lastLog = now;
-            LOG.info("#" + id + ", waiting for " + currentInProgress + "  actions to finish");
+            LOG.info("#" + id + ", waiting for " + currentInProgress
+                + "  actions to finish on table: " + tableName);
+            if (currentInProgress <= thresholdToLogUndoneTaskDetails) {
+              logDetailsOfUndoneTasks(currentInProgress);
+            }
           }
         }
         synchronized (actionsInProgress) {


Mime
View raw message