private static final long serialVersionUID = 1L;
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader("Expires", -1);
JobTracker tracker = (JobTracker) application.getAttribute("job.tracker");
String trackerName = StringUtils.simpleHostname(tracker.getJobTrackerMachine());
JobTrackerJspHelper jspHelper = new JobTrackerJspHelper();
List<JobInProgress> runningJobs = tracker.getRunningJobs();
List<JobInProgress> completedJobs = tracker.getCompletedJobs();
List<JobInProgress> failedJobs = tracker.getFailedJobs();
trackerName
tracker.getClusterStatus().getJobTrackerState()
new Date(tracker.getStartTime())
VersionInfo.getVersion()
VersionInfo.getRevision()
VersionInfo.getDate()
VersionInfo.getUser()
tracker.getTrackerIdentifier()
jspHelper.generateSummaryTable(out, tracker);
jspHelper.generateJobTable(out, "running", runningJobs);
jspHelper.generateJobTable(out, "completed", completedJobs);
jspHelper.generateJobTable(out, "failed", failedJobs);
JSPUtil.generateRetiredJobXml(out, tracker,
runningJobs.size() + completedJobs.size() + failedJobs.size());