HBASE-4253 Intermittent test failure because of missing config parameter in new

HTable(tablename) (Ramkrishna)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1161577 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-08-25 14:33:20 +00:00
parent ee55d1e744
commit 5f77151142
3 changed files with 6 additions and 3 deletions

View File

@ -213,6 +213,8 @@ Release 0.91.0 - Unreleased
HBASE-4225 NoSuchColumnFamilyException in multi doesn't say which family
is bad (Ramkrishna Vasudevan)
HBASE-4220 Lots of DNS queries from client
HBASE-4253 Intermittent test failure because of missing config parameter in new
HTable(tablename) (Ramkrishna)
IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -162,7 +162,8 @@ public class TestHTablePool {
// get table will return proxy implementation
final HTableInterface table = pool.getTable(tableName);
HTableInterface alienTable = new HTable(TABLENAME) {
HTableInterface alienTable = new HTable(TEST_UTIL.getConfiguration(),
TABLENAME) {
// implementation doesn't matter as long the table is not from
// pool
};
@ -348,4 +349,4 @@ public class TestHTablePool {
return suite;
}
}
}

View File

@ -157,7 +157,7 @@ public class TestScannerTimeout {
scan.setCaching(SCANNER_CACHING);
LOG.info("************ TEST3686A");
MetaReader.fullScanMetaAndPrint(TEST_UTIL.getHBaseCluster().getMaster().getCatalogTracker());
HTable table = new HTable(TABLE_NAME);
HTable table = new HTable(TEST_UTIL.getConfiguration(), TABLE_NAME);
LOG.info("START ************ TEST3686A---22");
ResultScanner r = table.getScanner(scan);