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

This commit is contained in:
Yiqun Lin 2018-09-18 11:10:33 +08:00
parent 281c192e7f
commit ee051ef9fe

View File

@ -81,8 +81,9 @@ public CallQueueManager(Class<? extends BlockingQueue<E>> backingClass,
this.clientBackOffEnabled = clientBackOffEnabled;
this.putRef = 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!