HBASE-6948 shell create table script cannot handle split key which is expressed in raw bytes (Tianying)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1399429 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2012-10-17 20:58:35 +00:00
parent 9c88d9d9ea
commit a7f9aa0c25
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ module Hbase
splits = Java::byte[][arg[SPLITS].size].new
idx = 0
arg[SPLITS].each do |split|
splits[idx] = split.to_java_bytes
splits[idx] = org.apache.hadoop.hbase.util.Bytes.toBytesBinary(split)
idx = idx + 1
end
elsif (arg.has_key?(NUMREGIONS) or arg.has_key?(SPLITALGO))