stack 写道: > Jean-Daniel Cryans wrote: > >> Zhou, >> >> No sorry there is no guide tho I'm sure that searching through this mailing >> list you would find some answers. >> > I just happened to be looking into this last night (smile). > > To bring on a split, try the following: > > 1. Set down the hbase.region.memcache.flush.size on your table. There is > I think you mean MAX_FILESIZE here, right?
> a bug that prevents you making this adjustment from the shell at the > moment but for a workaround, see > https://issues.apache.org/jira/browse/HBASE-903. > 2. Then, wait till the optional flush runs > (hbase.regionserver.optionalcacheflushinterval). Default is every 30 > minutes. > > If you want to run permanently with the smaller split size, you should > do as you posit, and lower the flush size -- > hbase.hregion.memcache.flush.size -- in same proportion by which you > lowered split size. > > I didn't know that I can do this to individual table in HBase. Great feature! I definitely need it in the next step when I add more tables. Thanks a lot! > St.Ack > > >
