@InterfaceAudience.Private public class MasterProcedureManagerHost extends ProcedureManagerHost<MasterProcedureManager>
HMaster
interacts with the loaded procedure manager through this class.Modifier and Type | Field and Description |
---|---|
private Hashtable<String,MasterProcedureManager> |
procedureMgrMap |
MASTER_PROCEDURE_CONF_KEY, procedures, REGIONSERVER_PROCEDURE_CONF_KEY
Constructor and Description |
---|
MasterProcedureManagerHost() |
Modifier and Type | Method and Description |
---|---|
MasterProcedureManager |
getProcedureManager(String signature) |
void |
initialize(MasterServices master,
MetricsMaster metricsMaster) |
void |
loadProcedures(org.apache.hadoop.conf.Configuration conf) |
void |
stop(String why) |
getProcedureManagers, loadInstance, loadUserProcedures, register
private Hashtable<String,MasterProcedureManager> procedureMgrMap
public MasterProcedureManagerHost()
public void loadProcedures(org.apache.hadoop.conf.Configuration conf)
loadProcedures
in class ProcedureManagerHost<MasterProcedureManager>
public void initialize(MasterServices master, MetricsMaster metricsMaster) throws org.apache.zookeeper.KeeperException, IOException, UnsupportedOperationException
org.apache.zookeeper.KeeperException
IOException
UnsupportedOperationException
public MasterProcedureManager getProcedureManager(String signature)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.