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 <[email protected] > 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.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 reduce per region size. > > > On Thu, Jan 16, 2014 at 12:27 PM, Ramon Wang <[email protected]> wrote: > > > 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.ConstantSizeRegionSplitPolicy', > > MAX_FILESIZE => '21474836480', > > > > I hope i could increase MAX_FILESIZE to some bigger value before, but we > > already have data in that table, so any ideas? Thanks. > > > > Cheers > > Ramon > > > > > > -- > Bharath Vissapragada > <http://www.cloudera.com> >
