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:
parent
9c88d9d9ea
commit
a7f9aa0c25
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue