hi,
I solved this problem last week.

stop-hbase -> change zkdata property directory(same as delete zk data) ->
change ip, hostname -> start-hbase

all resions will be reassigned. if you have lots of regions, it's very very
slow. I think there is no answer for this slow process until 0.96.


On Mon, Dec 17, 2012 at 1:04 PM, Bijieshan <[email protected]> wrote:

> >are you Chinese?
> Yes:)
>
> > I'm worry about the meta data of HBase, I have to modify it manually.
> You need not to do this. All region will be re-assigned and all meta
> information will be updated itself.
>
> > to Zookeeper, if i just remove the zk data, it will be ok?
> Which version are you using? It's not recommended to do so, I think, but
> I'm not sure.
>
> -----Original Message-----
> From: 周梦想 [mailto:[email protected]]
> Sent: Monday, December 17, 2012 12:12 PM
> To: [email protected]
> Subject: Re: what to do if I have changed the ip and hostname of an
> existed hbase cluster?
>
> thanks,jieshan!
> are you Chinese? I'm worry about the meta data of HBase, I have to modify
> it manually? to Zookeeper, if i just remove the zk data, it will be ok?
>
> 2012/12/17 Bijieshan <[email protected]>
>
> > I think one problem is there is Zookeeper: ZK stores the ip and hostname
> > mappings locally(We encountered one issue long time before. The cluster
> was
> > recovered after we deleted the directory of dataDir/version.).
> >
> > I think there will be no impact from Hbase side.
> >
> > Jieshan
> > -----Original Message-----
> > From: 周梦想 [mailto:[email protected]]
> > Sent: Monday, December 17, 2012 11:44 AM
> > To: [email protected]
> > Subject: what to do if I have changed the ip and hostname of an existed
> > hbase cluster?
> >
> > hi,
> >
> > I have a several nodes hbase cluster, there have been a lot of datas,
> but I
> > have to change the ip and hostname, what can i do?
> > thank you!
> >
> > andy zhou
> >
>

Reply via email to