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:01:22 UTC

[hbase] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 190c253  HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shell statement(#2992)
190c253 is described below

commit 190c253c4e8c9ad6ad28fcd2a1c50ea5f40db139
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 5c15797..33007ee 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -534,7 +534,7 @@ module Hbase
           File.foreach(splits_file) do |line|
             arg[SPLITS].push(line.chomp)
           end
-          tdb.setValue(SPLITS_FILE, arg[SPLITS_FILE])
+          tdb.setValue(SPLITS_FILE, splits_file)
         end
 
         if arg.key?(SPLITS)