Package org.apache.hadoop.hbase.client
Class TestClientNoCluster.SimpleRegistry
java.lang.Object
org.apache.hadoop.hbase.client.DoNothingConnectionRegistry
org.apache.hadoop.hbase.client.TestClientNoCluster.SimpleRegistry
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.client.ConnectionRegistry
- Enclosing class:
- TestClientNoCluster
Simple cluster registry inserted in place of our usual zookeeper based one.
-
Field Summary
Modifier and TypeFieldDescription(package private) final org.apache.hadoop.hbase.ServerName
-
Constructor Summary
ConstructorDescriptionSimpleRegistry
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.security.User user) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.client.DoNothingConnectionRegistry
close, getActiveMaster, getConnectionString
-
Field Details
-
META_HOST
-
-
Constructor Details
-
SimpleRegistry
public SimpleRegistry(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.security.User user)
-
-
Method Details
-
getMetaRegionLocations
- Specified by:
getMetaRegionLocations
in interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
- Overrides:
getMetaRegionLocations
in classDoNothingConnectionRegistry
-
getClusterId
- Specified by:
getClusterId
in interfaceorg.apache.hadoop.hbase.client.ConnectionRegistry
- Overrides:
getClusterId
in classDoNothingConnectionRegistry
-