HADOOP-10657. Merge r1602941 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1602942 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jing Zhao 2014-06-16 17:53:24 +00:00
parent 3278b6cc39
commit c5e9f27a58
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -137,9 +137,7 @@ public class RetryInvocationHandler<T> 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()