HBASE-14153 Typo in ProcedureManagerHost.MASTER_PROCEUDRE_CONF_KEY (Konstantin Shvachko)

This commit is contained in:
Jerry He 2015-07-29 15:43:20 -07:00
parent 93f53e263f
commit 3d40dd8394
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ public class MasterProcedureManagerHost extends
@Override @Override
public void loadProcedures(Configuration conf) { public void loadProcedures(Configuration conf) {
loadUserProcedures(conf, MASTER_PROCEUDRE_CONF_KEY); loadUserProcedures(conf, MASTER_PROCEDURE_CONF_KEY);
for (MasterProcedureManager mpm : getProcedureManagers()) { for (MasterProcedureManager mpm : getProcedureManagers()) {
procedureMgrMap.put(mpm.getProcedureSignature(), mpm); procedureMgrMap.put(mpm.getProcedureSignature(), mpm);
} }

View File

@ -41,7 +41,7 @@ public abstract class ProcedureManagerHost<E extends ProcedureManager> {
public static final String REGIONSERVER_PROCEDURE_CONF_KEY = public static final String REGIONSERVER_PROCEDURE_CONF_KEY =
"hbase.procedure.regionserver.classes"; "hbase.procedure.regionserver.classes";
public static final String MASTER_PROCEUDRE_CONF_KEY = public static final String MASTER_PROCEDURE_CONF_KEY =
"hbase.procedure.master.classes"; "hbase.procedure.master.classes";
private static final Log LOG = LogFactory.getLog(ProcedureManagerHost.class); private static final Log LOG = LogFactory.getLog(ProcedureManagerHost.class);

View File

@ -45,7 +45,7 @@ public class TestProcedureManager {
// set configure to indicate which pm should be loaded // set configure to indicate which pm should be loaded
Configuration conf = util.getConfiguration(); Configuration conf = util.getConfiguration();
conf.set(ProcedureManagerHost.MASTER_PROCEUDRE_CONF_KEY, conf.set(ProcedureManagerHost.MASTER_PROCEDURE_CONF_KEY,
SimpleMasterProcedureManager.class.getName()); SimpleMasterProcedureManager.class.getName());
conf.set(ProcedureManagerHost.REGIONSERVER_PROCEDURE_CONF_KEY, conf.set(ProcedureManagerHost.REGIONSERVER_PROCEDURE_CONF_KEY,
SimpleRSProcedureManager.class.getName()); SimpleRSProcedureManager.class.getName());