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

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


The following commit(s) were added to refs/heads/branch-2.5 by this push:
     new 46cfaff1710 HBASE-28145 When specifying the wrong BoolFilter type 
while creating a table in HBase shell, the log prompt will report an error. 
(#5460)
46cfaff1710 is described below

commit 46cfaff1710b0c740c00dfaecd997f89cdee4761
Author: ZhangIssac <[email protected]>
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 <[email protected]>
    Signed-off-by: Duo Zhang <[email protected]>
    (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 42f25111c1a..031a77b4433 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