diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index cf88280a7d2..d6ebd9ec780 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -82,6 +82,9 @@ Release 2.5.0 - UNRELEASED HADOOP-10688. Expose thread-level FileSystem StatisticsData (Sandy Ryza) + HADOOP-10657. Have RetryInvocationHandler log failover attempt at INFO + level. (Ming Ma via jing9) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java index 4df44f6dc6a..5a4e63840db 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java @@ -137,9 +137,7 @@ public class RetryInvocationHandler implements RpcInvocationHandler { msg += " after " + invocationFailoverCount + " fail over attempts"; } msg += ". Trying to fail over " + formatSleepMessage(action.delayMillis); - if (LOG.isDebugEnabled()) { - LOG.debug(msg, e); - } + LOG.info(msg, e); } else { if(LOG.isDebugEnabled()) { LOG.debug("Exception while invoking " + method.getName()