Repository: hbase Updated Branches: refs/heads/branch-1.2 316dd45cc -> da25def91
HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/da25def9 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/da25def9 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/da25def9 Branch: refs/heads/branch-1.2 Commit: da25def91b517ecc279444d8ab4dd943c117f61c Parents: 316dd45 Author: Yu Li <l...@apache.org> Authored: Fri Sep 8 11:40:26 2017 +0800 Committer: Yu Li <l...@apache.org> Committed: Tue Sep 19 09:54:19 2017 +0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/da25def9/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 0f1fd58..d49d474 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 @@ -1747,7 +1747,7 @@ class AsyncProcess { lastLog = now; LOG.info("#" + id + ", waiting for some tasks to finish. Expected max=" + max + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); if (currentInProgress <= thresholdToLogUndoneTaskDetails) { logDetailsOfUndoneTasks(currentInProgress); }