You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/08/31 01:22:28 UTC

svn commit: r1379222 - /hbase/branches/0.92/src/main/ruby/hbase/admin.rb

Author: stack
Date: Thu Aug 30 23:22:28 2012
New Revision: 1379222

URL: http://svn.apache.org/viewvc?rev=1379222&view=rev
Log:
HBASE-6257 Avoid unnecessary flush & compact on Meta in admin.rb

Modified:
    hbase/branches/0.92/src/main/ruby/hbase/admin.rb

Modified: hbase/branches/0.92/src/main/ruby/hbase/admin.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/ruby/hbase/admin.rb?rev=1379222&r1=1379221&r2=1379222&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/ruby/hbase/admin.rb (original)
+++ hbase/branches/0.92/src/main/ruby/hbase/admin.rb Thu Aug 30 23:22:28 2012
@@ -139,8 +139,6 @@ module Hbase
       raise ArgumentError, "Table #{table_name} is enabled. Disable it first.'" if enabled?(table_name)
 
       @admin.deleteTable(table_name)
-      flush(org.apache.hadoop.hbase.HConstants::META_TABLE_NAME)
-      major_compact(org.apache.hadoop.hbase.HConstants::META_TABLE_NAME)
     end
 
     #----------------------------------------------------------------------------------------------
@@ -148,8 +146,6 @@ module Hbase
     def drop_all(regex)
       regex = regex.to_s
       failed  = @admin.deleteTables(regex).map { |t| t.getNameAsString }
-      flush(org.apache.hadoop.hbase.HConstants::META_TABLE_NAME)
-      major_compact(org.apache.hadoop.hbase.HConstants::META_TABLE_NAME)
       return failed
     end