hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 吕鹏 <lvpengd...@gmail.com>
Subject Re: Can hbase delete the old regions after region split automatically?
Date Wed, 23 Nov 2011 06:00:21 GMT
Thanks so much for your advise.

I have some other problems:
1 Can the patch
0001-Fix-of-Regions-Leaks-problem-in-janitor.patch<https://issues.apache.org/jira/secure/attachment/12504058/0001-Fix-of-Regions-Leaks-problem-in-janitor.patch>
use
directly on cdh3-u2? cdh3-u2 is from 0.90.4
2 Is this a bug only for 0.90.4? Does 0.90.3 has the bug?
3 Is everyone who use 0.90.4 trigger my problem?
4 Is there a steady published hbase that fix the bug?

On Wed, Nov 23, 2011 at 1:38 AM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:

> It's supposed to but there are a few leaks such as:
>
> https://issues.apache.org/jira/browse/HBASE-4799
> https://issues.apache.org/jira/browse/HBASE-4238
>
> J-D
>
> On Mon, Nov 21, 2011 at 7:32 PM, 吕鹏 <lvpengdlut@gmail.com> wrote:
> > I set "hbase.hregion.max.filesize" to 9223372036854775807. When an
> average
> > region size on HDFS reaches 6G, i split all the regions in my hbase table
> > by using hbase java api HBaseAdmin.split. Before i do split, there are
> 1000
> > regions in my table, and when the split is finished, there a 2000 region
> is
> > available as expected. But on the HDFS, there are 3000 region directories
> > in the /hbase/tablename/columnfamily/*. Can hbase delete the old regions
> > after region split automatically?
> >
> > *b2fb55650a67b28b791be4d6f813de8a *is one of the original regions before
> > split, and the hbase master log is shown as follows:
> >  [hadoop@master3-hbase logs]$ grep b2fb55650a67b28b791be4d6f813de8a
> > hbase-hadoop-master-master3-hbase.sii.cn.log
> > 11/11/17 17:04:58 INFO master.ServerManager: Received REGION_SPLIT:
> > pageDB,4a7ef985,1320941062356.*b2fb55650a67b28b791be4d6f813de8a*.:
> > Daughters;
> pageDB,4a7ef985,1321520697601.aa5828bfb105e1109aa676e5361b1793.,
> >
> pageDB,4a9fd9f59468cba2e7d210f41811e349,1321520697601.b0b4e65db3251fc48dc70c5484084a34.
> > from slave5-hbase.sii.cn,60020,1320980409810
> > 11/11/17 23:45:30 INFO catalog.MetaEditor: Deleted daughter reference
> > pageDB,4a7ef985,1321520697601.aa5828bfb105e1109aa676e5361b1793.,
> > qualifier=splitA, from parent pageDB,4a7ef985,1320941062356.*
> > b2fb55650a67b28b791be4d6f813de8a*.
> > 11/11/18 00:10:30 INFO catalog.MetaEditor: Deleted daughter reference
> >
> pageDB,4a9fd9f59468cba2e7d210f41811e349,1321520697601.b0b4e65db3251fc48dc70c5484084a34.,
> > qualifier=splitB, from parent pageDB,4a7ef985,1320941062356.*
> > b2fb55650a67b28b791be4d6f813de8a*.
> >
>

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