You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by hongphong1805 <ph...@gmail.com> on 2017/01/12 09:23:50 UTC
CPU usage on region servers
Hi all,
I have 5 region servers and this is my config:
Hardware:
2 physical machines -> 7 vitural machines
Each vitural machine:
CPU: 8cores
RAM: 24GB
We are setup hadoop env with hortonwork 2.5 and setup HBase with 5
RegionServer, 2 Hbase masters
Config:
export HBASE_HEAPSIZE=8000
export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -Xms8G -Xmx8g"
When i excecute many queries on the same time, some regions has high CPU
usage (close 100%). So each query is very slow.
Test case:
+ On single request: 3s
+ On 5 requests on same times: (submit multi-requests from client):
20s/request
I would highly appreciate your help.
Thanks
--
View this message in context: http://apache-hbase.679495.n3.nabble.com/CPU-usage-on-region-servers-tp4085580.html
Sent from the HBase User mailing list archive at Nabble.com.
Re: CPU usage on region servers
Posted by Ted Yu <yu...@gmail.com>.
Can you describe the 5 requests in more detail (were they gets / puts, how
many rows were involved) ?
Can you take jstack of the busy region server and pastebin it ?
Log snippet from the busy region server would also help.
Cheers
On Thu, Jan 12, 2017 at 1:23 AM, hongphong1805 <ph...@gmail.com>
wrote:
> Hi all,
> I have 5 region servers and this is my config:
>
> Hardware:
> 2 physical machines -> 7 vitural machines
> Each vitural machine:
> CPU: 8cores
> RAM: 24GB
> We are setup hadoop env with hortonwork 2.5 and setup HBase with 5
> RegionServer, 2 Hbase masters
> Config:
> export HBASE_HEAPSIZE=8000
> export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -Xms8G -Xmx8g"
>
> When i excecute many queries on the same time, some regions has high CPU
> usage (close 100%). So each query is very slow.
> Test case:
> + On single request: 3s
> + On 5 requests on same times: (submit multi-requests from client):
> 20s/request
> I would highly appreciate your help.
> Thanks
>
>
>
> --
> View this message in context: http://apache-hbase.679495.n3.
> nabble.com/CPU-usage-on-region-servers-tp4085580.html
> Sent from the HBase User mailing list archive at Nabble.com.
>