hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ding,Dongchao" <dingdongc...@baidu.com>
Subject Re: Thrift Server: How to increase "max worker threads" and "max queued requests"
Date Fri, 18 Mar 2016 02:31:45 GMT
Maybe you could add more information about hbase version and which
thrift(thrift1 or thrift2) ?


在 16/3/17 下午4:35, "Ted Yu" <yuzhihong@gmail.com> 写入:

>See the following from hbase-default.xml
>
>  <property>
>    <name>hbase.thrift.minWorkerThreads</name>
>    <value>16</value>
>...
>  <property>
>    <name>hbase.thrift.maxWorkerThreads</name>
>    <value>1000</value>
>...
>  <property>
>    <name>hbase.thrift.maxQueuedRequests</name>
>    <value>1000</value>
>
>On Thu, Mar 17, 2016 at 1:05 AM, Daniel <daniel@abde.me> wrote:
>
>> Hi, I find that the Thrift server will stop responding (the request
>>hangs
>> until timeout) when the number of concurrent requests reaches several
>> hundred.
>>
>> I guess the problem is related to "max worker threads" and "max queued
>> requests", according to the following console output on Thrift start:
>>
>> 2016-03-17 12:05:08,514 INFO  [main] thrift.ThriftServerRunner: starting
>> TBoundedThreadPoolServer on /0.0.0.0:9090     with readTimeout 60000ms;
>> min worker threads=16, max worker threads=1000, max queued requests=1000
>>
>> I'd like to know how to increase "max worker threads" and "max queued
>> requests", but cannot find them in the documentation.
>>
>> Thanks for any hint.
>>
>> Daniel

Mime
View raw message