diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml
index c541bab3bb5..40cc281ea83 100644
--- a/hbase-common/pom.xml
+++ b/hbase-common/pom.xml
@@ -109,10 +109,6 @@
org.apache.hadoophadoop-core
-
- org.apache.hadoop
- hadoop-test
-
@@ -137,10 +133,6 @@
org.apache.hadoophadoop-annotations
-
- org.apache.hadoop
- hadoop-minicluster
-
@@ -191,10 +183,6 @@
org.apache.hadoophadoop-annotations
-
- org.apache.hadoop
- hadoop-minicluster
-
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index c134fc1c4a2..8a054532da6 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -274,6 +274,10 @@
org.apache.hbasehbase-protocol
+
+ org.apache.hbase
+ hbase-client
+ org.apache.hbasehbase-common
@@ -477,7 +481,6 @@
org.cloudera.htracehtrace
- 1.49
diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/BackupMasterListTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/BackupMasterListTmpl.jamon
new file mode 100644
index 00000000000..f3a3a82157e
--- /dev/null
+++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/BackupMasterListTmpl.jamon
@@ -0,0 +1,69 @@
+<%doc>
+Copyright The Apache Software Foundation
+
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+ %doc>
+
+<%args>
+HMaster master;
+%args>
+
+<%import>
+ java.util.*;
+ org.apache.hadoop.util.StringUtils;
+ org.apache.hadoop.hbase.util.Bytes;
+ org.apache.hadoop.hbase.master.HMaster;
+ org.apache.hadoop.hbase.HConstants;
+ org.apache.hadoop.hbase.ServerName;
+ org.apache.hadoop.hbase.ClusterStatus;
+%import>
+
+<%java>
+Collection backupMasters = null;
+if (master.isActiveMaster()) {
+ ClusterStatus status = master.getClusterStatus();
+ backupMasters = status.getBackupMasters();
+}
+%java>
+
+