hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: how to recover hbase
Date Mon, 21 Jun 2010 16:38:25 GMT
I'm not sure I understand what you describe, and since you didn't post
any output from your logs then it's really hard to help you debug.

What's the problem exactly and do you see any exception in the logs?


On Mon, Jun 21, 2010 at 2:48 AM, 梁景明 <futureha@gmail.com> wrote:
> after reading "Description of how HBase uses ZooKeeper"i see my problem
> maybe that the regionserver session in zk is lost!
> and i use bin/start-hbase.sh cant start hbase successfully .
> because they connect to zookeeper something lost?
> to start it.one way i think zookeeper start alone ,and i delete "/hbase" in
> it , and run the start-hbase.sh shell again?
> will it be ok?
> 2010/6/19 Jean-Daniel Cryans <jdcryans@apache.org>
>> > do u mean if ZooKeeper is dead,the data will lose?
>> If your Zookeeper ensemble is dead, then HBase will be unavailable but
>> you won't lose any data. And even if your zookeeper data is wiped out,
>> like I said it's only runtime data so it doesn't matter.
>> >
>> > in that case,ZooKeeper lost .META or .ROOT ,the data in hadoop will never
>> be
>> > recover , thought there were some table folders in hadoop.
>> HBase stores the location of -ROOT- in Zookeeper, and that's changed
>> everytime the region moves. Losing that won't make -ROOT- disappear
>> forever, it's still in HDFS.
>> Does it answer the question? (I'm not sure I fully understand you)
>> J-D

View raw message