Class RpcConnectionRegistry

java.lang.Object
org.apache.hadoop.hbase.client.AbstractRpcBasedConnectionRegistry
org.apache.hadoop.hbase.client.RpcConnectionRegistry
All Implemented Interfaces:
Closeable, AutoCloseable, ConnectionRegistry

@LimitedPrivate("Configuration") public class RpcConnectionRegistry extends AbstractRpcBasedConnectionRegistry
Rpc based connection registry. It will make use of the RegistryProtos.ClientMetaService to get registry information.

It needs bootstrap node list when start up, and then it will use RegistryProtos.ClientMetaService to refresh the bootstrap node list periodically.

Usually, you could set masters as the bootstrap nodes,as they will also implement the RegistryProtos.ClientMetaService, and then, we will switch to use region servers after refreshing the bootstrap nodes.