Ver Fonte

HADOOP-15742. Log if ipc backoff is enabled in CallQueueManager. Contributed by Ryan Wu.

Yiqun Lin há 6 anos atrás
pai
commit
ee051ef9fe

+ 3 - 2
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/CallQueueManager.java

@@ -81,8 +81,9 @@ public class CallQueueManager<E extends Schedulable>
     this.clientBackOffEnabled = clientBackOffEnabled;
     this.clientBackOffEnabled = clientBackOffEnabled;
     this.putRef = new AtomicReference<BlockingQueue<E>>(bq);
     this.putRef = new AtomicReference<BlockingQueue<E>>(bq);
     this.takeRef = new AtomicReference<BlockingQueue<E>>(bq);
     this.takeRef = new AtomicReference<BlockingQueue<E>>(bq);
-    LOG.info("Using callQueue: " + backingClass + " queueCapacity: " +
-        maxQueueSize + " scheduler: " + schedulerClass);
+    LOG.info("Using callQueue: {}, queueCapacity: {}, " +
+        "scheduler: {}, ipcBackoff: {}.",
+        backingClass, maxQueueSize, schedulerClass, clientBackOffEnabled);
   }
   }
 
 
   @VisibleForTesting // only!
   @VisibleForTesting // only!