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
1 changed files with 3 additions and 2 deletions

View File

@ -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: " + LOG.info("Using callQueue: {}, queueCapacity: {}, " +
maxQueueSize + " scheduler: " + schedulerClass); "scheduler: {}, ipcBackoff: {}.",
backingClass, maxQueueSize, schedulerClass, clientBackOffEnabled);
} }
@VisibleForTesting // only! @VisibleForTesting // only!