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:
parent
061c22b302
commit
87a157d9eb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue