Description
list_peers is failing because replication_admin#get_peer_state(id) pointing to the method removed from ReplicationAdmin. We need to read peer state from ReplicationPeer.
hbase(main):003:0> list_peers PEER_ID CLUSTER_KEY STATE ERROR: undefined method `getPeerState' for #<Java::OrgApacheHadoopHbaseClientReplication::ReplicationAdmin:0x7e299629> Here is some help for this command: List all replication peer clusters. hbase> list_peers
# Get peer cluster state def get_peer_state(id) @replication_admin.getPeerState(id) end