HBASE-1744 HBaseAdmin ctor should obtain Configuration from HBaseTestingUtility

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196533 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-11-02 10:12:24 +00:00
parent 061c22b302
commit 87a157d9eb
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class TestThriftHBaseServiceHandler {
@BeforeClass
public static void beforeClass() throws Exception {
UTIL.startMiniCluster();
HBaseAdmin admin = new HBaseAdmin(new Configuration());
HBaseAdmin admin = new HBaseAdmin(UTIL.getConfiguration());
HTableDescriptor tableDescriptor = new HTableDescriptor(tableAname);
for (HColumnDescriptor family : families) {
tableDescriptor.addFamily(family);