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/13 17:37:59 UTC

svn commit: r1325809 - in /hbase/branches/0.90: CHANGES.txt src/main/java/org/apache/hadoop/hbase/client/HTablePool.java

Author: stack
Date: Fri Apr 13 15:37:58 2012
New Revision: 1325809

URL: http://svn.apache.org/viewvc?rev=1325809&view=rev
Log:
HBASE-5773 HtablePool constructor not reading config files in certain cases

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1325809&r1=1325808&r2=1325809&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Fri Apr 13 15:37:58 2012
@@ -16,6 +16,8 @@ Release 0.90.7 - Unreleased
                (Teruyoshi Zenmyo)
    HBASE-5680  Improve compatibility warning about HBase with Hadoop 0.23.x
    HBASE-5488  OfflineMetaRepair doesn't support hadoop 0.20's fs.default.name property (gaojinchao)
+   HBASE-5773  HtablePool constructor not reading config files in certain cases
+               (Ioan Eugen Stan)
 
   IMPROVEMENT
    HBASE-5588  Deprecate/remove AssignmentManager#clearRegionFromTransition

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java?rev=1325809&r1=1325808&r2=1325809&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java Fri Apr 13 15:37:58 2012
@@ -70,7 +70,7 @@ public class HTablePool implements Close
       final HTableInterfaceFactory tableFactory) {
     // 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;
   }