hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r788545 - in /hadoop/hbase/trunk: CHANGES.txt bin/HBase.rb
Date Thu, 25 Jun 2009 23:14:30 GMT
Author: stack
Date: Thu Jun 25 23:14:29 2009
New Revision: 788545

URL: http://svn.apache.org/viewvc?rev=788545&view=rev
Log:
HBASE-1581 Run major compaction on .META. when table is dropped or truncated

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/bin/HBase.rb

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=788545&r1=788544&r2=788545&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Thu Jun 25 23:14:29 2009
@@ -407,6 +407,7 @@
                (Erik Holstad via Stack)
    HBASE-1584  Put add methods should return this for ease of use (Be
                consistant with Get) (Clint Morgan via Stack)
+   HBASE-1581  Run major compaction on .META. when table is dropped or truncated
 
   OPTIMIZATIONS
    HBASE-1412  Change values for delete column and column family in KeyValue

Modified: hadoop/hbase/trunk/bin/HBase.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/HBase.rb?rev=788545&r1=788544&r2=788545&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/HBase.rb (original)
+++ hadoop/hbase/trunk/bin/HBase.rb Thu Jun 25 23:14:29 2009
@@ -161,6 +161,7 @@
         raise IOError.new("Table " + tableName + " is enabled. Disable it first")
       else
         @admin.deleteTable(tableName)
+        major_compact(HConstants::META_TABLE_NAME);
       end
       @formatter.footer(now)
     end



Mime
View raw message