Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 699b3e7b1 -> 025c3f47d


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/025c3f47
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/025c3f47
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/025c3f47

Branch: refs/heads/branch-1.3
Commit: 025c3f47da5a297838a00e673b2bc6f4f4ff1e16
Parents: 699b3e7
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:34 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/025c3f47/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 d5f99f1..12fbb47 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
@@ -1819,7 +1819,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);
           }

Reply via email to