HBASE-4913 Addendum: Fix TestShell

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1408902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2012-11-13 19:24:55 +00:00
parent 5671ab600b
commit 091ee90a7e
1 changed files with 2 additions and 2 deletions

View File

@ -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