diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/ObserverReadProxyProvider.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/ObserverReadProxyProvider.java index 1e85a8e7a0..5d56c59d3a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/ObserverReadProxyProvider.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/ObserverReadProxyProvider.java @@ -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.