HBASE-1399 Can't delete tables since 1398
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@773241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6fdd1525b7
commit
72c0393ea7
|
@ -119,6 +119,8 @@ Release 0.20.0 - Unreleased
|
||||||
HBASE-1396 Remove unused sequencefile and mapfile config. from hbase-default.xml
|
HBASE-1396 Remove unused sequencefile and mapfile config. from hbase-default.xml
|
||||||
HBASE-1398 TableOperation doesnt format keys for meta scan properly
|
HBASE-1398 TableOperation doesnt format keys for meta scan properly
|
||||||
(Ryan Rawson via Stack)
|
(Ryan Rawson via Stack)
|
||||||
|
HBASE-1399 Can't drop tables since HBASE-1398 (Ryan Rawson via Andrew
|
||||||
|
Purtell)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||||
|
|
|
@ -55,7 +55,7 @@ abstract class TableOperation implements HConstants {
|
||||||
}
|
}
|
||||||
// add the delimiters.
|
// add the delimiters.
|
||||||
// TODO maybe check if this is necessary?
|
// TODO maybe check if this is necessary?
|
||||||
this.tableName = Bytes.toBytes(Bytes.toString(tableName) + ",,");
|
this.tableName = tableName;
|
||||||
|
|
||||||
// Don't wait for META table to come on line if we're enabling it
|
// Don't wait for META table to come on line if we're enabling it
|
||||||
if (!Bytes.equals(HConstants.META_TABLE_NAME, this.tableName)) {
|
if (!Bytes.equals(HConstants.META_TABLE_NAME, this.tableName)) {
|
||||||
|
@ -78,8 +78,11 @@ abstract class TableOperation implements HConstants {
|
||||||
boolean tableExists = false;
|
boolean tableExists = false;
|
||||||
|
|
||||||
// Open a scanner on the meta region
|
// Open a scanner on the meta region
|
||||||
|
byte [] tableNameMetaStart =
|
||||||
|
Bytes.toBytes(Bytes.toString(tableName) + ",,");
|
||||||
|
|
||||||
long scannerId = server.openScanner(m.getRegionName(),
|
long scannerId = server.openScanner(m.getRegionName(),
|
||||||
COLUMN_FAMILY_ARRAY, tableName, HConstants.LATEST_TIMESTAMP, null);
|
COLUMN_FAMILY_ARRAY, tableNameMetaStart, HConstants.LATEST_TIMESTAMP, null);
|
||||||
|
|
||||||
List<byte []> emptyRows = new ArrayList<byte []>();
|
List<byte []> emptyRows = new ArrayList<byte []>();
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue