HBASE-13746 list_replicated_tables command is not listing table in hbase shell
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
fd8e6ee956
commit
534c6034b8
|
@ -108,7 +108,7 @@ module Hbase
|
|||
def list_replicated_tables(regex = ".*")
|
||||
pattern = java.util.regex.Pattern.compile(regex)
|
||||
list = @replication_admin.listReplicated()
|
||||
list.select {|s| pattern.match(s.get(ReplicationAdmin.TNAME))}
|
||||
list.select {|s| pattern.match(s.get(ReplicationAdmin::TNAME))}
|
||||
end
|
||||
|
||||
#----------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue