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
This commit is contained in:
parent
51ec5b2b23
commit
05e3db77c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue