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:08:54 UTC

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


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

commit 620287b6e62f4984d6427e0404579dac97b69c3b
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 6b9036c..afbe14a 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -454,7 +454,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)