if (ID_CALL == messageType)
{
String stateStr = "";
if (taskStatuses != null && taskStatuses.size() > 0 && taskStatuses.get(0) != null)
{
HadoopTaskStatus hadoopTaskStatus = taskStatuses.get(0);
State state = hadoopTaskStatus.getState();
if (state != null)
{
stateStr = "(" + state.toString() + ")";
}
}