hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allan...@apache.org
Subject hbase git commit: HBASE-20854 Wrong retries number in RpcRetryingCaller's log message
Date Mon, 09 Jul 2018 07:25:31 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2.1 5a4060642 -> 77c6276a7


HBASE-20854 Wrong retries number in RpcRetryingCaller's log message


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/77c6276a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/77c6276a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/77c6276a

Branch: refs/heads/branch-2.1
Commit: 77c6276a7e4d4e26977ab147be2fdd78d28de1d7
Parents: 5a40606
Author: Allan Yang <allan163@apache.org>
Authored: Mon Jul 9 15:20:37 2018 +0800
Committer: Allan Yang <allan163@apache.org>
Committed: Mon Jul 9 15:24:38 2018 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/77c6276a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
index 96bb45d..2fda925 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
@@ -121,7 +121,7 @@ public class RpcRetryingCallerImpl<T> implements RpcRetryingCaller<T>
{
         if (tries > startLogErrorsCnt) {
           if (LOG.isInfoEnabled()) {
             StringBuilder builder = new StringBuilder("Call exception, tries=").append(tries)
-              .append(", retries=").append(tries).append(", started=")
+              .append(", retries=").append(maxAttempts).append(", started=")
               .append((EnvironmentEdgeManager.currentTime() - tracker.getStartTime()))
               .append(" ms ago, ").append("cancelled=").append(cancelled.get())
               .append(", msg=").append(t.getMessage())


Mime
View raw message