Explorar o código

HDFS-15197. [SBN read] Change ObserverRetryOnActiveException log to debug. Contributed by Chen Liang.

Ayush Saxena %!s(int64=5) %!d(string=hai) anos
pai
achega
74780c22eb

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/ObserverReadProxyProvider.java

@@ -471,7 +471,7 @@ public class ObserverReadProxyProvider<T>
               Exception unwrapped = re.unwrapRemoteException(
               Exception unwrapped = re.unwrapRemoteException(
                   ObserverRetryOnActiveException.class);
                   ObserverRetryOnActiveException.class);
               if (unwrapped instanceof ObserverRetryOnActiveException) {
               if (unwrapped instanceof ObserverRetryOnActiveException) {
-                LOG.info("Encountered ObserverRetryOnActiveException from {}." +
+                LOG.debug("Encountered ObserverRetryOnActiveException from {}." +
                     " Retry active namenode directly.", current.proxyInfo);
                     " Retry active namenode directly.", current.proxyInfo);
                 break;
                 break;
               }
               }