You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by pa...@apache.org on 2026/02/23 08:46:33 UTC
(hbase) branch branch-2 updated: HBASE-29886 list_namespace will throw instance vars on non-persistent Java type warning (#7774)
This is an automated email from the ASF dual-hosted git repository.
paksyd 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 824c27690b7 HBASE-29886 list_namespace will throw instance vars on non-persistent Java type warning (#7774)
824c27690b7 is described below
commit 824c27690b7197589efba3969898b00ec030864d
Author: Liu Xiao <42...@users.noreply.github.com>
AuthorDate: Mon Feb 23 16:46:27 2026 +0800
HBASE-29886 list_namespace will throw instance vars on non-persistent Java type warning (#7774)
Signed-off-by: Duo Zhang <zh...@apache.org>
Signed-off-by: Dávid Paksy <pa...@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 89038c02125..97c784744f2 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -1412,7 +1412,7 @@ module Hbase
def list_namespace(regex = '.*')
pattern = java.util.regex.Pattern.compile(regex)
list = @admin.listNamespaces
- list.select { |s| pattern.match(s) }
+ list.select { |s| pattern.matcher(s).matches }
end
#----------------------------------------------------------------------------------------------