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 e7237e2220d HBASE-28145 When specifying the wrong BoolFilter type 
while creating a table in HBase shell, the log prompt will report an error. 
(#5460)
e7237e2220d is described below

commit e7237e2220d9c6c0189c9bf0e5b7cf27b90e85b4
Author: ZhangIssac <58984599+zhangis...@users.noreply.github.com>
AuthorDate: Wed Oct 25 15:08:41 2023 +0800

    HBASE-28145 When specifying the wrong BoolFilter type while creating a 
table in HBase shell, the log prompt will report an error. (#5460)
    
    Co-authored-by: xiaozhang <issac.zh...@huolala.cn>
    Signed-off-by: Duo Zhang <zhang...@apache.org>
    (cherry picked from commit 13d46e7f8cd488d9d352baef4eacb0d8681d0295)
---
 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 a6dcb541c71..91e1e2b8472 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -1087,7 +1087,7 @@ module Hbase
         if 
org.apache.hadoop.hbase.regionserver.BloomType.constants.include?(bloomtype)
           
family.setBloomFilterType(org.apache.hadoop.hbase.regionserver.BloomType.valueOf(bloomtype))
         else
-          raise(ArgumentError, "BloomFilter type #{bloomtype} is not 
supported. Use one of " + 
org.apache.hadoop.hbase.regionserver.StoreFile::BloomType.constants.join(' '))
+          raise(ArgumentError, "BloomFilter type #{bloomtype} is not 
supported. Use one of " + 
org.apache.hadoop.hbase.regionserver.BloomType.constants.join(' '))
         end
       end
       if arg.include?(org.apache.hadoop.hbase.HColumnDescriptor::COMPRESSION)

Reply via email to