Package org.apache.hadoop.hbase.master
Class TestActiveMasterManager.DummyMaster
java.lang.Object
org.apache.hadoop.hbase.master.TestActiveMasterManager.DummyMaster
- All Implemented Interfaces:
org.apache.hadoop.hbase.Abortable
,org.apache.hadoop.hbase.Server
,org.apache.hadoop.hbase.Stoppable
- Enclosing class:
- TestActiveMasterManager
public static class TestActiveMasterManager.DummyMaster
extends Object
implements org.apache.hadoop.hbase.Server
Dummy Master Implementation.
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.master.ActiveMasterManager
private org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker
private boolean
-
Constructor Summary
ConstructorDescriptionDummyMaster
(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk, org.apache.hadoop.hbase.ServerName master) -
Method Summary
Modifier and TypeMethodDescriptionvoid
org.apache.hadoop.hbase.client.Connection
createConnection
(org.apache.hadoop.conf.Configuration conf) org.apache.hadoop.hbase.master.ActiveMasterManager
org.apache.hadoop.hbase.ChoreService
org.apache.hadoop.hbase.client.ClusterConnection
org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker
org.apache.hadoop.conf.Configuration
org.apache.hadoop.hbase.client.ClusterConnection
org.apache.hadoop.hbase.CoordinatedStateManager
org.apache.hadoop.fs.FileSystem
org.apache.hadoop.hbase.ServerName
org.apache.hadoop.hbase.zookeeper.ZKWatcher
boolean
boolean
boolean
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.Abortable
abort
-
Field Details
-
stopped
-
clusterStatusTracker
-
activeMasterManager
-
-
Constructor Details
-
DummyMaster
public DummyMaster(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk, org.apache.hadoop.hbase.ServerName master) throws InterruptedIOException - Throws:
InterruptedIOException
-
-
Method Details
-
abort
- Specified by:
abort
in interfaceorg.apache.hadoop.hbase.Abortable
-
isAborted
- Specified by:
isAborted
in interfaceorg.apache.hadoop.hbase.Abortable
-
getConfiguration
- Specified by:
getConfiguration
in interfaceorg.apache.hadoop.hbase.Server
-
getZooKeeper
- Specified by:
getZooKeeper
in interfaceorg.apache.hadoop.hbase.Server
-
getCoordinatedStateManager
- Specified by:
getCoordinatedStateManager
in interfaceorg.apache.hadoop.hbase.Server
-
getServerName
- Specified by:
getServerName
in interfaceorg.apache.hadoop.hbase.Server
-
isStopped
- Specified by:
isStopped
in interfaceorg.apache.hadoop.hbase.Stoppable
-
stop
- Specified by:
stop
in interfaceorg.apache.hadoop.hbase.Stoppable
-
getConnection
- Specified by:
getConnection
in interfaceorg.apache.hadoop.hbase.Server
-
getClusterStatusTracker
-
getActiveMasterManager
-
getChoreService
- Specified by:
getChoreService
in interfaceorg.apache.hadoop.hbase.Server
-
getClusterConnection
- Specified by:
getClusterConnection
in interfaceorg.apache.hadoop.hbase.Server
-
getFileSystem
- Specified by:
getFileSystem
in interfaceorg.apache.hadoop.hbase.Server
-
isStopping
- Specified by:
isStopping
in interfaceorg.apache.hadoop.hbase.Server
-
createConnection
public org.apache.hadoop.hbase.client.Connection createConnection(org.apache.hadoop.conf.Configuration conf) throws IOException - Specified by:
createConnection
in interfaceorg.apache.hadoop.hbase.Server
- Throws:
IOException
-