Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

All the jobs are failing with exception`org.apache.hadoop.hbase.CallQueueTooBigException: Call queue is ful`


Thu Jan 18 05:19:15 UTC 2018, RpcRetryingCaller{globalStartTime=1516252204444, pause=100, retries=35}, org.apache.hadoop.hbase.CallQueueTooBigException: Call queue is full on /ip:16020, too many items queued ?

	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(
	at org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel.callExecService(
	at org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel.callMethod(
	at org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService$Stub.getVersion(
	at org.apache.phoenix.query.ConnectionQueryServicesImpl$
	at org.apache.phoenix.query.ConnectionQueryServicesImpl$
	at org.apache.hadoop.hbase.client.HTable$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$
Caused by: org.apache.hadoop.hbase.CallQueueTooBigException: Call queue is full on /my_ip:16020, too many items queued ?
	at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
	at java.lang.reflect.Constructor.newInstance(
	at org.apache.hadoop.ipc.RemoteException.instantiateException(
	at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(
	at org.apache.hadoop.hbase.protobuf.ProtobufUtil.getRemoteException(
	at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(
	at org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$
	at org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$
	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(
	... 10 more
Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.CallQueueTooBigException): Call queue is full on /myip:16020, too many items queued ?
	at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(
	at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(
	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.execService(
	at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(

Expert Contributor

you can check queue size from regionserver UI (host-address:16030/rs-status) under Queues tab.

Queue size increases when there are too many requests and your RS cannot handle it. This can happen in case of

  • too many requests (CPU crunch)
  • ongoing compation
  • ongoing GC

You should investigate and identify the cause. and accordingly you can have more cpu, schedule compactions during off-peak hours, optimize GC.

Hope it helps!


We had the same error. Additional to the answer above we did change specific the following properties:


hbase.regionserver.handler.count from 30 to 40

phoenix.regionserver.index.handler.count from 30 to 40


add (at export HBASE_REGIONSERVER_OPTS) -XX:ParallelGCThreads=8


Additional you can increase the hbase.ipc.server.max.callqueue.size (default 1GB)




Be careful with setting ParallelGCThreads to 8 as it will decrease threads if the system has more processing power.


On a machine with N hardware threads where N is greater than 8, the parallel collector uses a fixed fraction of N as the number of garbage collector threads. The fraction is approximately 5/8 for large values of N. At values of N below 8, the number used is N. On selected platforms, the fraction drops to 5/16. The specific number of garbage collector threads can be adjusted with a command-line option (which is described later). On a host with one processor, the parallel collector will likely not perform as well as the serial collector because of the overhead required for parallel execution (for example, synchronization). However, when running applications with medium-sized to large-sized heaps, it generally outperforms the serial collector by a modest amount on machines with two processors, and usually performs significantly better than the serial collector when more than two processors are available.