} else {
JmxLiaison jmxLiaison = new JmxLiaison();
jmxLiaison.connect(false);
jmxLiaison.invoke(new ObjectName("LilyHBaseProxy:name=ReplicationPeer"), "waitOnReplicationPeerReady",
peerId);
jmxLiaison.disconnect();
}
}
/**
* After removing a replication peer, this waits for the replication source in the region server to be stopped,