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:
Chenxi Tong 2017-08-09 12:00:53 +08:00 committed by Michael Stack
parent 4057552ed6
commit 242ccd5881
1 changed files with 1 additions and 1 deletions

View File

@ -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