HBASE-18125 shell disregards spaces at the end of a split key in a split file
Signed-off-by: fchenxi <fchenxi@126.com> Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
4057552ed6
commit
242ccd5881
|
@ -386,7 +386,7 @@ module Hbase
|
|||
end
|
||||
arg[SPLITS] = []
|
||||
File.foreach(splits_file) do |line|
|
||||
arg[SPLITS].push(line.strip)
|
||||
arg[SPLITS].push(line.chomp)
|
||||
end
|
||||
htd.setValue(SPLITS_FILE, arg[SPLITS_FILE])
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue