Repository: hbase
Updated Branches:
  refs/heads/branch-1 ead106324 -> 539fce344


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

Branch: refs/heads/branch-1
Commit: 539fce344048514606dd0c350985875774ec5e95
Parents: ead1063
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:53:14 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/539fce34/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 097206c..44a7656 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
@@ -1857,7 +1857,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