hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: HBASE 3904
Date Mon, 20 Jun 2011 22:30:24 GMT
Could be a socket timeout, was able to get one with just 200 regions,
then calling isTableAvailable would trigger the case that was
described.

J-D

On Mon, Jun 20, 2011 at 3:28 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> J-D:
> What's your assessment of why isTableAvailable() was inaccurate for a table
> with 70k regions ?
>
> Thanks
>
> On Mon, Jun 20, 2011 at 3:01 PM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:
>
>> That's not how it works, whether the createTable call is sync or not
>> the regions are first created in .META. before the call can return.
>>
>> And looking at that code, it seems it's highly inefficient. We should
>> not change the enable flag for every region, we should batch put all
>> the .META. rows and we should not open a new HLog per new region.
>>
>> J-D
>>
>> On Mon, Jun 20, 2011 at 2:55 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>> > From Vidhyashankar @ 20/May/11 05:53:
>> > Hence there might be a case when all regions are indeed fully assigned in
>> > META but it is just that the master is yet to populate META with the rest
>> of
>> > the regions.
>> >
>> > The above means scanning .META. alone wouldn't guarantee that all the
>> > regions of the table are assigned.
>> >
>>
>

Mime
View raw message