private void PrintTaskAttempts(TaskReport report) { if (report.GetCurrentStatus() == TIPStatus.Complete) { System.Console.Out.WriteLine(report.GetSuccessfulTaskAttemptId()); } else { if (report.GetCurrentStatus() == TIPStatus.Running) { foreach (TaskAttemptID t in report.GetRunningTaskAttemptIds()) { System.Console.Out.WriteLine(t); } } } }