hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qiang Tian (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11812) duplicate code in SimpleRpcScheduler#SimpleRpcScheduler
Date Sat, 23 Aug 2014 10:24:11 GMT
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)

Mime
View raw message