HBASE-1581 Run major compaction on .META. when table is dropped or truncated
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
49599944be
commit
1eb46d4be7
|
@ -407,6 +407,7 @@ Release 0.20.0 - Unreleased
|
||||||
(Erik Holstad via Stack)
|
(Erik Holstad via Stack)
|
||||||
HBASE-1584 Put add methods should return this for ease of use (Be
|
HBASE-1584 Put add methods should return this for ease of use (Be
|
||||||
consistant with Get) (Clint Morgan via Stack)
|
consistant with Get) (Clint Morgan via Stack)
|
||||||
|
HBASE-1581 Run major compaction on .META. when table is dropped or truncated
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
HBASE-1412 Change values for delete column and column family in KeyValue
|
HBASE-1412 Change values for delete column and column family in KeyValue
|
||||||
|
|
|
@ -161,6 +161,7 @@ module HBase
|
||||||
raise IOError.new("Table " + tableName + " is enabled. Disable it first")
|
raise IOError.new("Table " + tableName + " is enabled. Disable it first")
|
||||||
else
|
else
|
||||||
@admin.deleteTable(tableName)
|
@admin.deleteTable(tableName)
|
||||||
|
major_compact(HConstants::META_TABLE_NAME);
|
||||||
end
|
end
|
||||||
@formatter.footer(now)
|
@formatter.footer(now)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue