public static class TestActiveMasterManager.DummyMaster extends Object implements org.apache.hadoop.hbase.Server
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.master.ActiveMasterManager |
activeMasterManager |
private org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker |
clusterStatusTracker |
private boolean |
stopped |
Constructor and Description |
---|
DummyMaster(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk,
org.apache.hadoop.hbase.ServerName master) |
Modifier and Type | Method and Description |
---|---|
void |
abort(String msg,
Throwable t) |
org.apache.hadoop.hbase.client.Connection |
createConnection(org.apache.hadoop.conf.Configuration conf) |
org.apache.hadoop.hbase.master.ActiveMasterManager |
getActiveMasterManager() |
org.apache.hadoop.hbase.ChoreService |
getChoreService() |
org.apache.hadoop.hbase.client.ClusterConnection |
getClusterConnection() |
org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker |
getClusterStatusTracker() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.hbase.client.ClusterConnection |
getConnection() |
org.apache.hadoop.hbase.CoordinatedStateManager |
getCoordinatedStateManager() |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
org.apache.hadoop.hbase.ServerName |
getServerName() |
org.apache.hadoop.hbase.zookeeper.ZKWatcher |
getZooKeeper() |
boolean |
isAborted() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
stop(String why) |
private volatile boolean stopped
private org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker clusterStatusTracker
private org.apache.hadoop.hbase.master.ActiveMasterManager activeMasterManager
public DummyMaster(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk, org.apache.hadoop.hbase.ServerName master) throws InterruptedIOException
InterruptedIOException
public void abort(String msg, Throwable t)
abort
in interface org.apache.hadoop.hbase.Abortable
public boolean isAborted()
isAborted
in interface org.apache.hadoop.hbase.Abortable
public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.zookeeper.ZKWatcher getZooKeeper()
getZooKeeper
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.CoordinatedStateManager getCoordinatedStateManager()
getCoordinatedStateManager
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.ServerName getServerName()
getServerName
in interface org.apache.hadoop.hbase.Server
public boolean isStopped()
isStopped
in interface org.apache.hadoop.hbase.Stoppable
public org.apache.hadoop.hbase.client.ClusterConnection getConnection()
getConnection
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker getClusterStatusTracker()
public org.apache.hadoop.hbase.master.ActiveMasterManager getActiveMasterManager()
public org.apache.hadoop.hbase.ChoreService getChoreService()
getChoreService
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.client.ClusterConnection getClusterConnection()
getClusterConnection
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.fs.FileSystem getFileSystem()
getFileSystem
in interface org.apache.hadoop.hbase.Server
public boolean isStopping()
isStopping
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.client.Connection createConnection(org.apache.hadoop.conf.Configuration conf) throws IOException
createConnection
in interface org.apache.hadoop.hbase.Server
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.