if (manager == null) {
throw new StageException("HelixManager attribute value is null");
}
HelixDataAccessor accessor = manager.getHelixDataAccessor();
ClusterId clusterId = ClusterId.from(manager.getClusterName());
ClusterAccessor clusterAccessor = new ClusterAccessor(clusterId, accessor);
Cluster cluster = clusterAccessor.readCluster();
ClusterStatusMonitor clusterStatusMonitor =
(ClusterStatusMonitor) event.getAttribute("clusterStatusMonitor");
if (clusterStatusMonitor != null) {
// TODO fix it