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:17:28 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 b87a8d97c -> a1d0bb97a


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

Branch: refs/heads/branch-1.4
Commit: a1d0bb97ac0a3384dab14e343c4394f09ac09eee
Parents: b87a8d9
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:55:46 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/a1d0bb97/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);
           }


Mime
View raw message