// print more about each task
final Iterator<ExecutorSummary> execIter = topologyInfo.get_executors_iterator();
boolean globalFailed = false;
while (execIter.hasNext()) {
final ExecutorSummary execSummary = execIter.next();
final String componentId = execSummary.get_component_id();
sb.append("component_id:").append(componentId).append(", ");
final ExecutorInfo execInfo = execSummary.get_executor_info();
final int taskStart = execInfo.get_task_start();
final int taskEnd = execInfo.get_task_end();
sb.append("task_id(s) for this executor:").append(taskStart).append("-")
.append(taskEnd).append(", ");
final String host = execSummary.get_host();
sb.append("host:").append(host).append(", ");
final int port = execSummary.get_port();
sb.append("port:").append(port).append(", ");
final int uptime = execSummary.get_uptime_secs();
sb.append("uptime:").append(uptime).append("\n");
sb.append("\n");
// printing failing statistics, if there are failed tuples
final ExecutorStats es = execSummary.get_stats();
if (es == null)
sb.append("No info about failed tuples\n");
else {
final ExecutorSpecificStats stats = es.get_specific();
boolean isEmpty;