StringBuffer taskList = new StringBuffer(); for (JobHistoryParser.TaskInfo task : tasks.values()) { if (taskType.equals(task.getTaskType()) && (status.equals(task.getTaskStatus()) || status.equalsIgnoreCase("ALL"))) {
StringBuffer taskList = new StringBuffer(); for (JobHistoryParser.TaskInfo task : tasks.values()) { if (taskType.equals(task.getTaskType()) && (status.equals(task.getTaskStatus()) || status.equalsIgnoreCase("ALL"))) {
StringBuffer taskList = new StringBuffer(); for (JobHistoryParser.TaskInfo task : tasks.values()) { if (taskType.equals(task.getTaskType()) && (status.equals(task.getTaskStatus()) || status.equalsIgnoreCase("ALL"))) {
taskInfo.getFinishTime(), taskInfo.getTaskType(), taskInfo.getError(), taskInfo.getTaskStatus(), taskInfo.getFailedDueToAttemptId(), taskInfo.getCounters());
TaskType type = task.getTaskType();
taskInfo.getFinishTime(), taskInfo.getTaskType(), taskInfo.getError(), taskInfo.getTaskStatus(), taskInfo.getFailedDueToAttemptId(), taskInfo.getCounters());
taskInfo.getFinishTime(), taskInfo.getTaskType(), taskInfo.getError(), taskInfo.getTaskStatus(), taskInfo.getFailedDueToAttemptId(), taskInfo.getCounters(),
if (taskType.equalsIgnoreCase(task.getTaskType().toString())) { Map <TaskAttemptID, JobHistoryParser.TaskAttemptInfo> taskAttempts = task.getAllTaskAttempts(); for (JobHistoryParser.TaskAttemptInfo taskAttempt : taskAttempts.values()) {
for (JobHistoryParser.TaskAttemptInfo attempt : task.getAllTaskAttempts().values()) { if (taskType.equals(task.getTaskType())){ taskList.setLength(0); taskList.append(attempt.getAttemptId()).append("\t");
for (JobHistoryParser.TaskAttemptInfo attempt : task.getAllTaskAttempts().values()) { if (taskType.equals(task.getTaskType())){ taskList.setLength(0); taskList.append(attempt.getAttemptId()).append("\t");
for (JobHistoryParser.TaskAttemptInfo attempt : task.getAllTaskAttempts().values()) { if (taskType.equals(task.getTaskType())){ taskList.setLength(0); taskList.append(attempt.getAttemptId()).append("\t");
for (JobHistoryParser.TaskAttemptInfo attempt : task.getAllTaskAttempts().values()) { if (taskType.equals(task.getTaskType())){ taskList.setLength(0); taskList.append(attempt.getAttemptId()).append("\t");
for (JobHistoryParser.TaskAttemptInfo attempt : task.getAllTaskAttempts().values()) { if (taskType.equals(task.getTaskType())){ taskList.setLength(0); taskList.append(attempt.getAttemptId()).append("\t");
StringBuffer taskList = new StringBuffer(); for (JobHistoryParser.TaskInfo task : tasks.values()) { if (taskType.equals(task.getTaskType()) && (status.equals(task.getTaskStatus()) || status.equalsIgnoreCase("ALL"))) {
StringBuffer taskList = new StringBuffer(); for (JobHistoryParser.TaskInfo task : tasks.values()) { if (taskType.equals(task.getTaskType()) && (status.equals(task.getTaskStatus()) || status.equalsIgnoreCase("ALL"))) {
TaskType type = task.getTaskType(); assertTrue("Unknown Task type \"" + type + "\" is seen in " + "history file for task " + tid,
@Override public TaskType getType() { return TypeConverter.toYarn(taskInfo.getTaskType()); }
@Override public TaskType getType() { return TypeConverter.toYarn(taskInfo.getTaskType()); }
@Override public TaskType getType() { return TypeConverter.toYarn(taskInfo.getTaskType()); }
private static void addTaskAttemptInfo( JobHistoryParser.TaskInfo task, int id) { JobHistoryParser.TaskAttemptInfo attempt = new JobHistoryParser.TaskAttemptInfo(); attempt.attemptId = new TaskAttemptID( TaskID.downgrade(task.getTaskId()), id); attempt.startTime = task.getStartTime(); attempt.finishTime = task.getFinishTime(); attempt.shuffleFinishTime = task.getFinishTime(); attempt.sortFinishTime = task.getFinishTime(); attempt.mapFinishTime = task.getFinishTime(); attempt.status = task.getTaskStatus(); attempt.taskType = task.getTaskType(); attempt.trackerName = "localhost"; attempt.httpPort = 1234; attempt.hostname = "localhost"; task.attemptsMap.put(attempt.getAttemptId(), attempt); } }