public static class TestActiveMasterManager.DummyMaster extends Object implements Server
| Constructor and Description |
|---|
DummyMaster(ZKWatcher zk,
ServerName master) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(String msg,
Throwable t) |
Connection |
createConnection(org.apache.hadoop.conf.Configuration conf) |
ActiveMasterManager |
getActiveMasterManager() |
ChoreService |
getChoreService() |
ClusterConnection |
getClusterConnection() |
ClusterStatusTracker |
getClusterStatusTracker() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
ClusterConnection |
getConnection() |
CoordinatedStateManager |
getCoordinatedStateManager() |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
MetaTableLocator |
getMetaTableLocator() |
ServerName |
getServerName() |
ZKWatcher |
getZooKeeper() |
boolean |
isAborted() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
stop(String why) |
public DummyMaster(ZKWatcher zk, ServerName master)
public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration in interface Serverpublic ZKWatcher getZooKeeper()
getZooKeeper in interface Serverpublic CoordinatedStateManager getCoordinatedStateManager()
getCoordinatedStateManager in interface Serverpublic ServerName getServerName()
getServerName in interface Serverpublic ClusterConnection getConnection()
getConnection in interface Serverpublic MetaTableLocator getMetaTableLocator()
getMetaTableLocator in interface Serverpublic ClusterStatusTracker getClusterStatusTracker()
public ActiveMasterManager getActiveMasterManager()
public ChoreService getChoreService()
getChoreService in interface Serverpublic ClusterConnection getClusterConnection()
getClusterConnection in interface Serverpublic org.apache.hadoop.fs.FileSystem getFileSystem()
getFileSystem in interface Serverpublic boolean isStopping()
isStopping in interface Serverpublic Connection createConnection(org.apache.hadoop.conf.Configuration conf) throws IOException
createConnection in interface ServerIOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.