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

[hbase] branch branch-.2 created (now 13c2338)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a change to branch branch-.2
in repository https://gitbox.apache.org/repos/asf/hbase.git.


      at 13c2338  HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shell statement(#2992)

This branch includes the following new commits:

     new 13c2338  HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shell statement(#2992)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[hbase] 01/01: HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shell statement(#2992)

Posted by zh...@apache.org.
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

commit 13c2338c0bbdc2a1c53a89998fa7c7c41c9d7ef5
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 3c30f9d..0ba57c4 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)