hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15742) Log if ipc backoff is enabled in CallQueueManager
Date Tue, 18 Sep 2018 03:13:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16618419#comment-16618419
] 

Hudson commented on HADOOP-15742:
---------------------------------

FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #14986 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14986/])
HADOOP-15742. Log if ipc backoff is enabled in CallQueueManager. (yqlin: rev ee051ef9fec1fddb612aa1feae9fd3df7091354f)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/CallQueueManager.java


> Log if ipc backoff is enabled in CallQueueManager
> -------------------------------------------------
>
>                 Key: HADOOP-15742
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15742
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.1.1
>            Reporter: Yiqun Lin
>            Assignee: Ryan Wu
>            Priority: Minor
>             Fix For: 3.2.0
>
>         Attachments: HADOOP-15742.001.patch, HADOOP-15742.002.patch, HADOOP-15742.003.patch
>
>
> Currently we don't log the info of ipc backoff. It will look good to print this as well
so that makes users know if we enable this.
> {code:java}
>   public CallQueueManager(Class<? extends BlockingQueue<E>> backingClass,
>                           Class<? extends RpcScheduler> schedulerClass,
>       boolean clientBackOffEnabled, int maxQueueSize, String namespace,
>       Configuration conf) {
>     int priorityLevels = parseNumLevels(namespace, conf);
>     this.scheduler = createScheduler(schedulerClass, priorityLevels,
>         namespace, conf);
>     BlockingQueue<E> bq = createCallQueueInstance(backingClass,
>         priorityLevels, maxQueueSize, namespace, conf);
>     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);
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message