You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/04/12 18:59:41 UTC
svn commit: r1325383 - in /hbase/branches/0.92: CHANGES.txt
src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
Author: stack
Date: Thu Apr 12 16:59:41 2012
New Revision: 1325383
URL: http://svn.apache.org/viewvc?rev=1325383&view=rev
Log:
HBASE-5773 HtablePool constructor not reading config files in certain cases
Modified:
hbase/branches/0.92/CHANGES.txt
hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1325383&r1=1325382&r2=1325383&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Thu Apr 12 16:59:41 2012
@@ -35,6 +35,8 @@ Release 0.92.2 - Unreleased
HBASE-5748 Enable lib directory in jar file for coprocessor (Takuya Ueshin)
HBASE-5758 Forward port "HBASE-4109 Hostname returned via reverse dns lookup
contains trailing period if configured interface is not 'default'"
+ HBASE-5773 HtablePool constructor not reading config files in certain cases
+ (Ioan Eugen Stan)
IMPROVEMENTS
HBASE-5592 Make it easier to get a table from shell (Ben West)
Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java?rev=1325383&r1=1325382&r2=1325383&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java Thu Apr 12 16:59:41 2012
@@ -136,7 +136,7 @@ public class HTablePool implements Close
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;