hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1203788 - /hbase/trunk/src/main/ruby/hbase/admin.rb
Date Fri, 18 Nov 2011 18:45:52 GMT
Author: stack
Date: Fri Nov 18 18:45:51 2011
New Revision: 1203788

URL: http://svn.apache.org/viewvc?rev=1203788&view=rev
Log:
HBASE-4819 TestShell broke in trunk; typo

Modified:
    hbase/trunk/src/main/ruby/hbase/admin.rb

Modified: hbase/trunk/src/main/ruby/hbase/admin.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/ruby/hbase/admin.rb?rev=1203788&r1=1203787&r2=1203788&view=diff
==============================================================================
--- hbase/trunk/src/main/ruby/hbase/admin.rb (original)
+++ hbase/trunk/src/main/ruby/hbase/admin.rb Fri Nov 18 18:45:51 2011
@@ -199,7 +199,7 @@ module Hbase
             splits[idx] = split.to_java_bytes
             idx = idx + 1
           end
-        elsif arg.kind_of?(Hash) and (arg.has_key?(NUMREGIONS) or arg.has_key?(SLITALGO))
+        elsif arg.kind_of?(Hash) and (arg.has_key?(NUMREGIONS) or arg.has_key?(SPLITALGO))
           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



Mime
View raw message