HBASE-2756 MetaScanner.metaScan doesn't take configurations

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2010-06-21 17:16:02 +00:00
parent 436698d5de
commit dccbca8561
2 changed files with 2 additions and 1 deletions

View File

@ -397,6 +397,7 @@ Release 0.21.0 - Unreleased
HBASE-2740 NPE in ReadWriteConsistencyControl HBASE-2740 NPE in ReadWriteConsistencyControl
HBASE-2752 Don't retry forever when waiting on too many store files HBASE-2752 Don't retry forever when waiting on too many store files
HBASE-2737 CME in ZKW introduced in HBASE-2694 (Karthik Ranganathan via JD) HBASE-2737 CME in ZKW introduced in HBASE-2694 (Karthik Ranganathan via JD)
HBASE-2756 MetaScanner.metaScan doesn't take configurations
IMPROVEMENTS IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable HBASE-1760 Cleanup TODOs in HTable

View File

@ -94,7 +94,7 @@ class MetaScanner {
// if row is not null, we want to use the startKey of the row's region as // if row is not null, we want to use the startKey of the row's region as
// the startRow for the meta scan. // the startRow for the meta scan.
if (row != null) { if (row != null) {
HTable metaTable = new HTable(HConstants.META_TABLE_NAME); HTable metaTable = new HTable(configuration, HConstants.META_TABLE_NAME);
Result startRowResult = metaTable.getRowOrBefore(startRow, Result startRowResult = metaTable.getRowOrBefore(startRow,
HConstants.CATALOG_FAMILY); HConstants.CATALOG_FAMILY);
if (startRowResult == null) { if (startRowResult == null) {