From b82ef56267926319acb561e47f5601bc18d02fdb Mon Sep 17 00:00:00 2001 From: Allan Yang Date: Mon, 9 Jul 2018 15:20:37 +0800 Subject: [PATCH] HBASE-20854 Wrong retries number in RpcRetryingCaller's log message --- .../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 96bb45d3e51..2fda9257fb1 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 implements RpcRetryingCaller { 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())