@InterfaceAudience.Private public class MasterProcedureManagerHost extends ProcedureManagerHost<MasterProcedureManager>
HMaster
interacts with the loaded procedure manager through this class.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
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 void stop(String why)
public MasterProcedureManager getProcedureManager(String signature)
Copyright © 2007–2019 Cloudera. All rights reserved.