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 <[email protected]> > > 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 >
