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 Tue, 19 Oct 2010 04:24:11 GMT
Is it complaining of one region only?  Can you confirm it is indeed on
two servers? (Grep its name in master logs and see if it got assigned
two).  If you look in list of regions on master ui page, where does it
think it is?  Is it there?  If so, try killing the other regionserver.

This should be fixed in TRUNK.  You might try moving to 09/24 too.

St.Ack


On Mon, Oct 18, 2010 at 9:12 PM, Jack Levin <magnito@gmail.com> wrote:
> 830, I did restart, and I still have this:
>
> 10/10/18 21:12:22 DEBUG client.HConnectionManager$TableServers: Cached
> location for .META.,,1.1028785192 is mtae9.prod.imageshack.com:60020
> ................................................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'}]}}
>
>
> -Jack
>
> On Mon, Oct 18, 2010 at 9:10 PM, Stack <stack@duboce.net> wrote:
>> Have you restarted recently?  Which version you at now Jack?  Are you on 0924?
>> St.Ack
>>
>> On Mon, Oct 18, 2010 at 12:35 PM, Jack Levin <magnito@gmail.com> wrote:
>>> it knows the regions, just not the servers where they are.
>>>
>>>
>>>
>>> On Mon, Oct 18, 2010 at 10:55 AM, Stack <stack@duboce.net> wrote:
>>>> 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