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

This commit is contained in:
Guanghao Zhang 2017-11-16 15:44:25 +08:00
parent e9612e6c89
commit 41fa71d9cd
1 changed files with 2 additions and 2 deletions

View File

@ -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
#----------------------------------------------------------------------------------------------