hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramon Wang <ra...@appannie.com>
Subject Re: How to shrink HBase region size?
Date Thu, 16 Jan 2014 07:29:24 GMT
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 <bharathv@cloudera.com
> 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 <ramon@appannie.com> 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>
>

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