hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Date Tue, 19 Sep 2017 02:18:18 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 2598d0087 -> 68cd18176


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

Branch: refs/heads/branch-1.1
Commit: 68cd18176e197c08294af622b849f2e7f9ea1fc7
Parents: 2598d00
Author: Yu Li <liyu@apache.org>
Authored: Fri Sep 8 11:40:26 2017 +0800
Committer: Yu Li <liyu@apache.org>
Committed: Tue Sep 19 09:53:53 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/68cd1817/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 49c095d..8c3c212 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
@@ -1676,7 +1676,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);
           }


Mime
View raw message