You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zg...@apache.org on 2017/11/16 08:29:45 UTC

hbase git commit: HBASE-19009 implement modifyTable and enable/disableTableReplication for AsyncAdmin (addendum)

Repository: hbase
Updated Branches:
  refs/heads/master 570d786ac -> d8fb10c83


HBASE-19009 implement modifyTable and enable/disableTableReplication for AsyncAdmin (addendum)


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

Branch: refs/heads/master
Commit: d8fb10c8329b19223c91d3cda6ef149382ad4ea0
Parents: 570d786
Author: Guanghao Zhang <zg...@apache.org>
Authored: Thu Nov 16 15:44:25 2017 +0800
Committer: Guanghao Zhang <zg...@apache.org>
Committed: Thu Nov 16 16:28:56 2017 +0800

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/replication_admin.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d8fb10c8/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 049f0c6..ceb728e 100644
--- a/hbase-shell/src/main/ruby/hbase/replication_admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/replication_admin.rb
@@ -20,7 +20,7 @@
 include Java
 
 java_import org.apache.hadoop.hbase.client.replication.ReplicationAdmin
-java_import org.apache.hadoop.hbase.client.replication.ReplicationSerDeHelper
+java_import org.apache.hadoop.hbase.client.replication.ReplicationPeerConfigUtil
 java_import org.apache.hadoop.hbase.replication.ReplicationPeerConfig
 java_import org.apache.hadoop.hbase.util.Bytes
 java_import org.apache.hadoop.hbase.zookeeper.ZKConfig
@@ -144,7 +144,7 @@ module Hbase
     # Show the current tableCFs config for the specified peer
     def show_peer_tableCFs(id)
       rpc = @admin.getReplicationPeerConfig(id)
-      ReplicationSerDeHelper.convertToString(rpc.getTableCFsMap)
+      ReplicationPeerConfigUtil.convertToString(rpc.getTableCFsMap)
     end
 
     #----------------------------------------------------------------------------------------------