HBASE-14153 Typo in ProcedureManagerHost.MASTER_PROCEUDRE_CONF_KEY (Konstantin Shvachko)
This commit is contained in:
parent
9f4aeca7c8
commit
e5bf0287e8
|
@ -38,7 +38,7 @@ public class MasterProcedureManagerHost extends
|
|||
|
||||
@Override
|
||||
public void loadProcedures(Configuration conf) {
|
||||
loadUserProcedures(conf, MASTER_PROCEUDRE_CONF_KEY);
|
||||
loadUserProcedures(conf, MASTER_PROCEDURE_CONF_KEY);
|
||||
for (MasterProcedureManager mpm : getProcedureManagers()) {
|
||||
procedureMgrMap.put(mpm.getProcedureSignature(), mpm);
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ public abstract class ProcedureManagerHost<E extends ProcedureManager> {
|
|||
|
||||
public static final String REGIONSERVER_PROCEDURE_CONF_KEY =
|
||||
"hbase.procedure.regionserver.classes";
|
||||
public static final String MASTER_PROCEUDRE_CONF_KEY =
|
||||
public static final String MASTER_PROCEDURE_CONF_KEY =
|
||||
"hbase.procedure.master.classes";
|
||||
|
||||
private static final Log LOG = LogFactory.getLog(ProcedureManagerHost.class);
|
||||
|
|
|
@ -46,7 +46,7 @@ public class TestProcedureManager {
|
|||
// set configure to indicate which pm should be loaded
|
||||
Configuration conf = util.getConfiguration();
|
||||
|
||||
conf.set(ProcedureManagerHost.MASTER_PROCEUDRE_CONF_KEY,
|
||||
conf.set(ProcedureManagerHost.MASTER_PROCEDURE_CONF_KEY,
|
||||
SimpleMasterProcedureManager.class.getName());
|
||||
conf.set(ProcedureManagerHost.REGIONSERVER_PROCEDURE_CONF_KEY,
|
||||
SimpleRSProcedureManager.class.getName());
|
||||
|
|
Loading…
Reference in New Issue