Index: src/main/ruby/hbase/admin.rb =================================================================== --- src/main/ruby/hbase/admin.rb (revision 1301687) +++ src/main/ruby/hbase/admin.rb (working copy) @@ -200,6 +200,7 @@ idx = idx + 1 end elsif arg.kind_of?(Hash) and (arg.has_key?(NUMREGIONS) or arg.has_key?(SPLITALGO)) + raise(ArgumentError, "Column family configuration should be specified in a separate clause") if arg.has_key?(NAME) raise(ArgumentError, "Number of regions must be specified") unless arg.has_key?(NUMREGIONS) raise(ArgumentError, "Split algorithm must be specified") unless arg.has_key?(SPLITALGO) raise(ArgumentError, "Number of regions must be geter than 1") unless arg[NUMREGIONS] > 1