hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinsong Hu" <jinsong...@hotmail.com>
Subject Re: can't read all hbase tables after hbase cluster IP netmask change
Date Wed, 17 Mar 2010 00:02:25 GMT
yes, the dns name resolution is working file. it is not dns issue. it looks 
I have to regenerate my hbase data again
from my raw data.

But it looks this IP change issue should be documented, so people won't 
encounter this issue again.

Another observation I have is that if one region server dies, the region 
served by that server won't be accessible any
more because of this binding to IP. the only way to resolve this is to build 
a new machine that takes over that IP and
add it to cluster.

Unfortunately, the hbase itself doesn't have HA build in. if would be nice 
if future versions of hbase add this high availability support.

Jimmy.

--------------------------------------------------
From: "Ryan Rawson" <ryanobjc@gmail.com>
Sent: Tuesday, March 16, 2010 4:28 PM
To: <hbase-user@hadoop.apache.org>
Subject: Re: can't read all hbase tables after hbase cluster IP netmask 
change

> With the versioning of HBase, the old data is not overwritten so it
> may not be that issue.
>
> Can you check your DNS situation, see if the name to IP back to name
> resolution is working correctly for all nodes?
>
> -ryan
>
> On Tue, Mar 16, 2010 at 4:24 PM, Jinsong Hu <jinsong_hu@hotmail.com> 
> wrote:
>> Yes, I restarted the cluster. and it doesn't help. it still tries to go 
>> to
>> the old IP.
>> I looked at the binary data in the  /hbase/ROOT directory, and it turns 
>> out
>> the old IP is in those data files.
>>
>> Jimmy
>>
>> --------------------------------------------------
>> From: "Ryan Rawson" <ryanobjc@gmail.com>
>> Sent: Tuesday, March 16, 2010 4:16 PM
>> To: <hbase-user@hadoop.apache.org>
>> Subject: Re: can't read all hbase tables after hbase cluster IP netmask
>> change
>>
>>> Have you restarted your cluster yet?  It looks like you changed the
>>> IPs of your machines, is that correct?
>>>
>>> On Tue, Mar 16, 2010 at 4:06 PM, Jinsong Hu <jinsong_hu@hotmail.com>
>>> wrote:
>>>>
>>>> Hi, There:
>>>>  I migrated my hbase cluster from network 10.110.24.0 to 10.110.8.0 for
>>>> all my hbase machines, and now I can't read the contents of the tables
>>>> any more. I run "bin/hbase shell", and then "scan  'TABLE_ABC', the log
>>>> shows it is still trying to connect to region server 10.110.24.91. but 
>>>> that
>>>> machine's IP is changed to 10.110.8.91. so the request fails.
>>>>  Is there anyway I can fix this issue so I can read the table contents
>>>> again?
>>>>
>>>>
>>>> Jimmy
>>>>
>>>
>>
> 

Mime
View raw message