You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2021/03/07 14:09:49 UTC
[hbase] branch branch-2 updated: HBASE-25609 There is a problem
with the SPLITS_FILE in the HBase shell statement(#2992)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new e81ef34 HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shell statement(#2992)
e81ef34 is described below
commit e81ef34c6824982c2bcb26e4d65ab64865b140e9
Author: 申胜利 <48...@users.noreply.github.com>
AuthorDate: Sun Mar 7 22:01:01 2021 +0800
HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shell statement(#2992)
Signed-off-by: Duo Zhang <zh...@apache.org>
---
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 62b2ab1..bf07612 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)