hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: two same regions on two diff. regionservers
Date Mon, 18 Oct 2010 17:55:06 GMT
Try

hbase> close_region 'NAME' 'HOSTNAME'

Do help, it'll show you the exact syntax.

It might not work though.  You might get NPE IIRC.

Did hbsck identify all doubled regions?

St.Ack

On Mon, Oct 18, 2010 at 10:49 AM, Jack Levin <magnito@gmail.com> wrote:
> Also, check this out:
>
> ................................................Exception in thread
> "main" java.io.IOException: Two entries in META are same REGION =>
> {NAME => 'img530,paracomplaceralgay.png,1287419125193.f4a2462ad7f9d5f5ec3bfff05df842e6.',
> STARTKEY => 'paracomplaceralgay.png', ENDKEY => 'qqcy.jpg', ENCODED =>
> f4a2462ad7f9d5f5ec3bfff05df842e6, TABLE => {{NAME => 'img530',
> FAMILIES => [{NAME => 'att', BLOOMFILTER => 'NONE', VERSIONS => '3',
> COMPRESSION => 'NONE', TTL => '2147483647', BLOCKSIZE => '350000',
> IN_MEMORY => 'false', BLOCKCACHE => 'true'}]}}
>        at org.apache.hadoop.hbase.client.HBaseFsck$1.processRow(HBaseFsck.java:422)
>        at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:156)
>        at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:68)
>        at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:53)
>        at org.apache.hadoop.hbase.client.HBaseFsck.getMetaEntries(HBaseFsck.java:437)
>        at org.apache.hadoop.hbase.client.HBaseFsck.doWork(HBaseFsck.java:105)
>        at org.apache.hadoop.hbase.client.HBaseFsck.main(HBaseFsck.java:523)
>
>
> How do I find the region to close that is not listed in Meta?
>
> -Jack
>
> On Sun, Oct 17, 2010 at 10:36 PM, Jack Levin <magnito@gmail.com> wrote:
>> Is there automatic repair proggy that could do that? I got 109 entries like that
>>
>> -Jack
>>
>>
>> On Oct 17, 2010, at 9:42 PM, Ryan Rawson <ryanobjc@gmail.com> wrote:
>>
>>> In the shell try the close_region "region_name", "server" for the one
>>> that is _not_ listed in the META table (visible on the master table
>>> page).
>>>
>>> ie: you are telling the regionserver that should not have the region
>>> to close it.
>>>
>>> -ryan
>>>
>>> On Sun, Oct 17, 2010 at 9:36 PM, Jack Levin <magnito@gmail.com> wrote:
>>>> please see:
>>>> http://pastebin.com/4PrUstmy
>>>>
>>>> What is the right course of action to resolve this?
>>>>
>>>> -Jack
>>>>
>>
>

Mime
View raw message