From 05e3db77c5bb3ef6ba8f8ae012a34f1fde706816 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 12 Apr 2012 16:58:20 +0000 Subject: [PATCH] HBASE-5773 HtablePool constructor not reading config files in certain cases git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325380 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/hadoop/hbase/client/HTablePool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java b/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java index d888af9acc3..a2f1578c6a7 100755 --- a/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java @@ -140,7 +140,7 @@ public class HTablePool implements Closeable { final HTableInterfaceFactory tableFactory, PoolType poolType) { // Make a new configuration instance so I can safely cleanup when // done with the pool. - this.config = config == null ? new Configuration() : config; + this.config = config == null ? HBaseConfiguration.create() : config; this.maxSize = maxSize; this.tableFactory = tableFactory == null ? new HTableFactory() : tableFactory;