hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1408904 - /hbase/branches/0.94/src/main/ruby/hbase/admin.rb
Date Tue, 13 Nov 2012 19:25:32 GMT
Author: larsh
Date: Tue Nov 13 19:25:31 2012
New Revision: 1408904

URL: http://svn.apache.org/viewvc?rev=1408904&view=rev
Log:
HBASE-4913 Addendum: Fix TestShell

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

Modified: hbase/branches/0.94/src/main/ruby/hbase/admin.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/ruby/hbase/admin.rb?rev=1408904&r1=1408903&r2=1408904&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/ruby/hbase/admin.rb (original)
+++ hbase/branches/0.94/src/main/ruby/hbase/admin.rb Tue Nov 13 19:25:31 2012
@@ -51,7 +51,7 @@ module Hbase
 
     #----------------------------------------------------------------------------------------------
     # Requests a table or region or column family compaction
-    def compact(table_or_region_name, family)
+    def compact(table_or_region_name, family = nil)
       if family == nil
         @admin.compact(table_or_region_name)
       else
@@ -62,7 +62,7 @@ module Hbase
 
     #----------------------------------------------------------------------------------------------
     # Requests a table or region or column family major compaction
-    def major_compact(table_or_region_name, family)
+    def major_compact(table_or_region_name, family = nil)
       if family == nil
         @admin.majorCompact(table_or_region_name)
       else



Mime
View raw message