listArea[1] = uit.getArea(tplfile, "tasklist1");
listArea[2] = uit.getArea(tplfile, "tasklist2");
ServletContext ctx = getServletContext();
BSPMaster tracker = (BSPMaster) ctx.getAttribute("bsp.master");
ClusterStatus status = tracker.getClusterStatus(true);
JobStatus jobStatus = tracker.getJobStatus(BSPJobID.forName(jobId));
vars.put("hamaLogDir", hamaLogDir);
vars.put("dirName", dirName);
vars.put("targetUri", targetUri);
vars.put("jobId", jobId);
vars.put("jobStatus", jobStatus.getState().toString());
vars.put("jobName", jobStatus.getName());
out.println(uit.convert(listArea[0], vars));
vars.clear();
for (Entry<String, GroomServerStatus> entry : status
.getActiveGroomServerStatus().entrySet()) {
vars.put("jobId", jobId);
vars.put("dirName", dirName);
vars.put("serverName", entry.getKey());
vars.put("hostName", entry.getValue().getGroomHostName());