org.apache.hadoop.mapreduce.server.jobtracker
Class JobTrackerJspHelper
java.lang.Object
org.apache.hadoop.mapreduce.server.jobtracker.JobTrackerJspHelper
public class JobTrackerJspHelper
- extends Object
Methods to help format output for JobTracker XML JSPX
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobTrackerJspHelper
public JobTrackerJspHelper()
generateJobTable
public void generateJobTable(javax.servlet.jsp.JspWriter out,
String label,
List<JobInProgress> jobs)
throws IOException
- Returns an XML-formatted table of the jobs in the list.
This is called repeatedly for different lists of jobs (e.g., running, completed, failed).
- Throws:
IOException
generateSummaryTable
public void generateSummaryTable(javax.servlet.jsp.JspWriter out,
JobTracker tracker)
throws IOException
- Generates an XML-formatted block that summarizes the state of the JobTracker.
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation