HADOOP-10657. Have RetryInvocationHandler log failover attempt at INFO level. Contributed by Ming Ma.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1602941 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26936978be
commit
b2ffbd8796
|
@ -427,6 +427,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
|
||||
|
|
|
@ -136,9 +136,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()
|
||||
|
|
Loading…
Reference in New Issue