hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Rodionov <vladrodio...@gmail.com>
Subject Re: Rebuild HBASE Table to reduce Regions per RS
Date Tue, 14 Jan 2014 18:40:21 GMT
I have never tried this before but I think the following should work:

1. Alter your table:

habse> alter 't1', METHOD => 'table_att', MAX_FILESIZE => '5000000000'
(place your own number here)

2. Merge regions:


On Tue, Jan 14, 2014 at 7:21 AM, Upender Nimbekar <
nimbekar.upender@gmail.com> wrote:

> Hi,
> Does anyone have any experience rebuidling the HBASE table to reduce the
> number of regions. I am currently dealing with a situation where the no. of
> regions per RS have gone up quite significantly (500 per RS) and thereby
> causing some performance issues. This is how I am thinking of bringing it
> down:
> increase the hbase.hregion.max.filesize from 500 MB to 2 GB
> And the rebuild the HBASE table. I am assuming if after table rebuild, I
> should see the no. of regions come down to more than half. I would
> basically like to stay within HBASE suggested no. of regions per RS which
> is about 50-200.
> Please suggest if someone has any experience doing it.
> Thanks
> Upen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message