HBASE-6011. Addendum to support master mocking (Ram)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2012-05-18 16:23:40 +00:00
parent fe4e7afdd0
commit 60d28c645d
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ public class LocalHBaseCluster {
// its HConnection instance rather than share (see HBASE_INSTANCES down in
// the guts of HConnectionManager.
JVMClusterUtil.MasterThread mt = JVMClusterUtil.createMasterThread(c,
this.masterClass, index);
(Class<? extends HMaster>) conf.getClass(HConstants.MASTER_IMPL, this.masterClass), index);
this.masterThreads.add(mt);
return mt;
}