return IOUtils.toByteArray(entity.getContent());
} finally {
if (response.getEntity() != null) {
EntityUtils.consume(response.getEntity());
}
httpGet.releaseConnection();
}
}
public ReplicationStatus collectStatusFromZooKeepeer() throws Exception {
Map<String, Map<String, Status>> statusByPeerAndServer = Maps.newHashMap();