From 3d40dd8394cf2da501bf90e4409722ec3ed6c544 Mon Sep 17 00:00:00 2001 From: Jerry He Date: Wed, 29 Jul 2015 15:43:20 -0700 Subject: [PATCH] HBASE-14153 Typo in ProcedureManagerHost.MASTER_PROCEUDRE_CONF_KEY (Konstantin Shvachko) --- .../hadoop/hbase/procedure/MasterProcedureManagerHost.java | 2 +- .../org/apache/hadoop/hbase/procedure/ProcedureManagerHost.java | 2 +- .../org/apache/hadoop/hbase/procedure/TestProcedureManager.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/MasterProcedureManagerHost.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/MasterProcedureManagerHost.java index 854518939a2..8161ffecc52 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/MasterProcedureManagerHost.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/MasterProcedureManagerHost.java @@ -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); } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ProcedureManagerHost.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ProcedureManagerHost.java index e06c9ef91a1..3ab4ac55585 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ProcedureManagerHost.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ProcedureManagerHost.java @@ -41,7 +41,7 @@ public abstract class ProcedureManagerHost { 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); diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureManager.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureManager.java index 330acbe30ad..09b5b00c304 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureManager.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureManager.java @@ -45,7 +45,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());