From e81ef34c6824982c2bcb26e4d65ab64865b140e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B3=E8=83=9C=E5=88=A9?= <48829688+shenshengli@users.noreply.github.com> Date: Sun, 7 Mar 2021 22:01:01 +0800 Subject: [PATCH] HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shell statement(#2992) Signed-off-by: Duo Zhang --- hbase-shell/src/main/ruby/hbase/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index 62b2ab1a156..bf07612fdaa 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -509,7 +509,7 @@ module Hbase File.foreach(splits_file) do |line| arg[SPLITS].push(line.chomp) end - htd.setValue(SPLITS_FILE, arg[SPLITS_FILE]) + htd.setValue(SPLITS_FILE, splits_file) end if arg.key?(SPLITS)