[
https://issues.apache.org/jira/browse/HBASE-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153036#comment-13153036
]
stack commented on HBASE-4819:
------------------------------
{code}Index: src/main/ruby/hbase/admin.rb
===================================================================
--- src/main/ruby/hbase/admin.rb (revision 1203787)
+++ src/main/ruby/hbase/admin.rb (working copy)
@@ -199,7 +199,7 @@
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
{code}
> TestShell broke in trunk; typo
> ------------------------------
>
> Key: HBASE-4819
> URL: https://issues.apache.org/jira/browse/HBASE-4819
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Fix For: 0.94.0
>
> Attachments: broke_testshell.txt
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira