From 534c6034b8297bf745c49aed37c5f4689a250cc4 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 25 May 2015 10:37:13 +0530 Subject: [PATCH] HBASE-13746 list_replicated_tables command is not listing table in hbase shell Signed-off-by: Andrew Purtell --- hbase-shell/src/main/ruby/hbase/replication_admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-shell/src/main/ruby/hbase/replication_admin.rb b/hbase-shell/src/main/ruby/hbase/replication_admin.rb index b2ca8e1a6e9..617073b6a0a 100644 --- a/hbase-shell/src/main/ruby/hbase/replication_admin.rb +++ b/hbase-shell/src/main/ruby/hbase/replication_admin.rb @@ -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 #----------------------------------------------------------------------------------------------