From 96d8dcb6f13a252a1f2f259065b558f460eb8100 Mon Sep 17 00:00:00 2001 From: Yu Li Date: Fri, 29 Jul 2016 11:21:42 +0800 Subject: [PATCH] HBASE-16289 AsyncProcess stuck messages need to print region/server --- .../java/org/apache/hadoop/hbase/client/AsyncProcess.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 fc1c44f7e19..209ec0e9990 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 @@ -1683,7 +1683,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) {