This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 13d46e7f8cd HBASE-28145 When specifying the wrong BoolFilter type
while creating a table in HBase shell, the log prompt will report an error.
(#5460)
13d46e7f8cd is described below
commit 13d46e7f8cd488d9d352baef4eacb0d8681d0295
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]>
---
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 53a8137fc0c..453b7ae1af6 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -1182,7 +1182,7 @@ module Hbase
if
org.apache.hadoop.hbase.regionserver.BloomType.constants.include?(bloomtype)
cfdb.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?(ColumnFamilyDescriptorBuilder::COMPRESSION)