System.out.println("Either startTime or finishTime is not positive");
context.getCounter("Job Analysis", "Not positive start or finish").increment(1);
continue;
}
AttemptStatsKey statsKey = new AttemptStatsKey();
statsKey.setCluster(clusterName);
statsKey.setExcess(((com.linkedin.whiteelephant.parsing.DerivedAttemptData)attempt.getDerived()).getExcess());
statsKey.setStatus(TaskStatus.valueOf(attempt.getTaskStatus().toString()));
statsKey.setType(TaskType.valueOf(attempt.getType().toString().toUpperCase()));
statsKey.setUser(job.getUser());
writeStats(statsKey, attempt, context);
}
}
}