This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new b82ef56 HBASE-20854 Wrong retries number in RpcRetryingCaller's log
message
b82ef56 is described below
commit b82ef56267926319acb561e47f5601bc18d02fdb
Author: Allan Yang <[email protected]>
AuthorDate: Mon Jul 9 15:20:37 2018 +0800
HBASE-20854 Wrong retries number in RpcRetryingCaller's log message
---
.../main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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())