HBASE-1398 TableOperation doesnt format keys for meta scan properly

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@773169 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-05-09 06:12:33 +00:00
parent 2c62949179
commit 6fdd1525b7
2 changed files with 5 additions and 1 deletions

View File

@ -117,6 +117,8 @@ Release 0.20.0 - Unreleased
not been pending
HBASE-1386 NPE in housekeeping
HBASE-1396 Remove unused sequencefile and mapfile config. from hbase-default.xml
HBASE-1398 TableOperation doesnt format keys for meta scan properly
(Ryan Rawson via Stack)
IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -53,7 +53,9 @@ abstract class TableOperation implements HConstants {
if (!this.master.isMasterRunning()) {
throw new MasterNotRunningException();
}
this.tableName = tableName;
// add the delimiters.
// TODO maybe check if this is necessary?
this.tableName = Bytes.toBytes(Bytes.toString(tableName) + ",,");
// Don't wait for META table to come on line if we're enabling it
if (!Bytes.equals(HConstants.META_TABLE_NAME, this.tableName)) {