You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Junheng Gong (JIRA)" <ji...@apache.org> on 2015/05/13 07:04:59 UTC

[jira] [Created] (HBASE-13678) Hbase client block on region call back

Junheng Gong created HBASE-13678:
------------------------------------

             Summary: Hbase client block on region call back
                 Key: HBASE-13678
                 URL: https://issues.apache.org/jira/browse/HBASE-13678
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.94.15
         Environment: CentOS 6.4 scala 2.11/java 1.7
            Reporter: Junheng Gong


when batch get some data from cluster, the client will block some threads base on region server amount

In code client use Future.get block a thread for each related region servers and wait them finish one by one.

In our case we have 12 region servers, so most of time the client will cost 12 threads for a batch get, if we have many concurrent request it will OOM by can not create native threads.

I suggest we use some kind async or call back to process region server's response.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)