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) {