[
https://issues.apache.org/jira/browse/HBASE-22559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863737#comment-16863737
]
Hudson commented on HBASE-22559:
--------------------------------
Results for branch branch-1
[build #892 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/892/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/892//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk7 checks{color}
-- For more information [see jdk7
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/892//JDK7_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/892//JDK8_Nightly_Build_Report_(Hadoop2)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
> [RPC] set guard against CALL_QUEUE_HANDLER_FACTOR_CONF_KEY
> ----------------------------------------------------------
>
> Key: HBASE-22559
> URL: https://issues.apache.org/jira/browse/HBASE-22559
> Project: HBase
> Issue Type: Bug
> Components: rpc
> Reporter: Reid Chan
> Assignee: Reid Chan
> Priority: Minor
> Attachments: HBASE-22559.master.001.patch
>
>
> CALL_QUEUE_HANDLER_FACTOR_CONF_KEY is
> {{hbase.ipc.server.callqueue.handler.factor}}, a float number, which is
> supposed between [0.0, 1.0].
> If it is greater than 1, for example, 2.0, the call queues and handlers will
> be expanded twice:
> {code}
> float callQueuesHandlersFactor =
> this.conf.getFloat(CALL_QUEUE_HANDLER_FACTOR_CONF_KEY, 0);
> this.numCallQueues = computeNumCallQueues(handlerCount,
> callQueuesHandlersFactor);
> this.handlerCount = Math.max(handlerCount, this.numCallQueues);
> protected int computeNumCallQueues(final int handlerCount, final float
> callQueuesHandlersFactor) {
> return Math.max(1, (int) Math.round(handlerCount *
> callQueuesHandlersFactor));
> }
> {code}
> We already have {{hbase.regionserver.handler.count}} set, what mentioned
> above looks tricky.
> The purpose of this conf is to control how many handlers can share one call
> queue, expanding the number of handlers (a kind of side-effects) is not
> included, from my understanding.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)