hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaojinchao <gaojinc...@huawei.com>
Subject About failover
Date Mon, 29 Aug 2011 06:38:07 GMT
version: Trunk.
When we startup a cluster, processDeadServers shouldn't be called,
otherwise we will create a lots of unuseful zk nodes.

As follows:
void joinCluster() throws IOException, KeeperException, InterruptedException {

    Map<ServerName,List<Pair<HRegionInfo,Result>>> deadServers =

//when startup the cluster,all regions are considered as dead ones.
//we will create a offline zk node for each region. But these nodes are cleared in function

    //Determine whether it is failover. If it is not , we will clean all the zk nodes.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message