You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Qiang Tian (JIRA)" <ji...@apache.org> on 2014/08/23 12:24:11 UTC

[jira] [Created] (HBASE-11812) duplicate code in SimpleRpcScheduler#SimpleRpcScheduler

Qiang Tian created HBASE-11812:
----------------------------------

             Summary: duplicate code in SimpleRpcScheduler#SimpleRpcScheduler
                 Key: HBASE-11812
                 URL: https://issues.apache.org/jira/browse/HBASE-11812
             Project: HBase
          Issue Type: Bug
          Components: IPC/RPC
    Affects Versions: 0.98.5
            Reporter: Qiang Tian
            Priority: Minor



in 0.98.5 SimpleRpcScheduler#SimpleRpcScheduler:
{code}
     int maxQueueLength = conf.getInt(CALL_QUEUE_MAX_LENGTH_CONF_KEY,
      conf.getInt("ipc.server.max.callqueue.length",
        handlerCount * RpcServer.DEFAULT_MAX_CALLQUEUE_LENGTH_PER_HANDLER));
  
    float callqReadShare = conf.getFloat(CALL_QUEUE_READ_SHARE_CONF_KEY,
      conf.getFloat("ipc.server.callqueue.read.share", 0));

    float callQueuesHandlersFactor = conf.getFloat(CALL_QUEUE_HANDLER_FACTOR_CONF_KEY,
      conf.getFloat("ipc.server.callqueue.handler.factor", 0));
{code}




--
This message was sent by Atlassian JIRA
(v6.2#6252)