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

commit 88e9477f8b49df99552d1a0278b9edd0f47def1f
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 a0bea3aa291..8e70a563d07 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -1039,7 +1039,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