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
|
end
|
||||||
arg[SPLITS] = []
|
arg[SPLITS] = []
|
||||||
File.foreach(splits_file) do |line|
|
File.foreach(splits_file) do |line|
|
||||||
arg[SPLITS].push(line.strip)
|
arg[SPLITS].push(line.chomp)
|
||||||
end
|
end
|
||||||
htd.setValue(SPLITS_FILE, arg[SPLITS_FILE])
|
htd.setValue(SPLITS_FILE, arg[SPLITS_FILE])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue