public class ClusterStatus extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Walks the tree of collection status to verify that any replicas not reporting a "down" status is on a live node, if any replicas reporting their status as "active" but the node is not live is marked as "down"; used by CLUSTERSTATUS.
public ClusterStatus(ZkStateReader zkStateReader, ZkNodeProps props)
public void getClusterStatus(NamedList results) throws org.apache.zookeeper.KeeperException, InterruptedException
protected void crossCheckReplicaStateWithLiveNodes(List<String> liveNodes, NamedList<Object> collectionProps)
liveNodes- List of currently live node names.
collectionProps- Map of collection status information pulled directly from ZooKeeper.
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.