hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [2/5] hbase git commit: HBASE-13746 list_replicated_tables command is not listing table in hbase shell
Date Mon, 25 May 2015 20:45:54 GMT
HBASE-13746 list_replicated_tables command is not listing table in hbase shell

Signed-off-by: Andrew Purtell <apurtell@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/534c6034
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/534c6034
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/534c6034

Branch: refs/heads/branch-1
Commit: 534c6034b8297bf745c49aed37c5f4689a250cc4
Parents: fd8e6ee
Author: Abhishek Kumar <abhishek.kr@huawei.com>
Authored: Mon May 25 10:37:13 2015 +0530
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon May 25 12:52:55 2015 -0700

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/replication_admin.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/534c6034/hbase-shell/src/main/ruby/hbase/replication_admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/replication_admin.rb b/hbase-shell/src/main/ruby/hbase/replication_admin.rb
index b2ca8e1..617073b 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
 
     #----------------------------------------------------------------------------------------------


Mime
View raw message