thank you Azuryy, I have encountered an problem of hbase, but I don't know whether it was caused by ip change or not. because we started the system for about 2 hours, then second name server exited .... all cluster can't bring up...,hbase data is corrupt .... it's a long miserable story...
2012/12/17 Azuryy Yu <azury...@gmail.com> > 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 <bijies...@huawei.com> 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:abloz...@gmail.com] > > Sent: Monday, December 17, 2012 12:12 PM > > To: user@hbase.apache.org > > 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 <bijies...@huawei.com> > > > > > 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:abloz...@gmail.com] > > > Sent: Monday, December 17, 2012 11:44 AM > > > To: user@hbase.apache.org > > > 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 > > > > > >