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

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


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

commit 0be283497192fe3143716bb99a2a73739fab45e7
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 bc792c3..16bd871 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)