From 091ee90a7e55760476fe7e5f6b1e1eede4961ccf Mon Sep 17 00:00:00 2001 From: larsh Date: Tue, 13 Nov 2012 19:24:55 +0000 Subject: [PATCH] HBASE-4913 Addendum: Fix TestShell git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1408902 13f79535-47bb-0310-9956-ffa450edef68 --- hbase-server/src/main/ruby/hbase/admin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/ruby/hbase/admin.rb b/hbase-server/src/main/ruby/hbase/admin.rb index d617a21bff6..3e7b13b6ed5 100644 --- a/hbase-server/src/main/ruby/hbase/admin.rb +++ b/hbase-server/src/main/ruby/hbase/admin.rb @@ -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