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: http://hbase.apache.org/book/ops.regionmgt.html On Tue, Jan 14, 2014 at 7:21 AM, Upender Nimbekar < [email protected]> 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 >
