Re: How to shrink HBase region size?

2014-01-15 Thread Ramon Wang
org.apache.hadoop.hbase.util.Merge, is what i'm looking for, thanks Bharath. Cheers Ramon On Thu, Jan 16, 2014 at 3:10 PM, Bharath Vissapragada wrote: > Your subject seems to be different from your actual question. If you want > to reduce the number of regions, you can increase the > hbase.hre

Re: How to shrink HBase region size?

2014-01-15 Thread Bharath Vissapragada
Your subject seems to be different from your actual question. If you want to reduce the number of regions, you can increase the hbase.hregion.max.filesize and do region merge (offline merge suggested ,hbase org.apache.hadoop.hbase.util.Merge tbl_name region_1 region_2). You can use compression to r

How to shrink HBase region size?

2014-01-15 Thread Ramon Wang
Hi All I'm wondering is there a simple way we can decrease the number of regions for a table? We are using HBase 0.94.6-cdh4.4.0, one of our table has more than 100 regions, following is some information of the table: SPLIT_POLICY => 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPo