HDFS-14094. [SBN read] Fix the order of logging arguments in ObserverReadProxyProvider. Contributed by Ayush Saxena.

This commit is contained in:
Konstantin V Shvachko 2018-11-25 12:46:28 -08:00
parent cbc2f932eb
commit 3bb92a1d9a

View File

@ -302,7 +302,7 @@ public Object invoke(Object proxy, final Method method, final Object[] args)
// If we get here, it means all observers have failed.
LOG.warn("{} observers have failed for read request {}; also found " +
"{} standby and {} active. Falling back to active.",
failedObserverCount, standbyCount, activeCount, method.getName());
failedObserverCount, method.getName(), standbyCount, activeCount);
}
// Either all observers have failed, or that it is a write request.