protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
IOException {
/* set runtime properties from request and response */
super.setRuntimeProperties(req, resp);
AzkabanApplication app = getApplication();
@SuppressWarnings("unused")
Map<String, JobDescriptor> descriptors = app.getJobManager().loadJobDescriptors();
Page page = newPage(req, resp, "azkaban/web/pages/index.vm");
page.add("logDir", app.getLogDirectory());
page.add("flows", app.getAllFlows());
page.add("scheduled", app.getScheduleManager().getSchedule());
page.add("executing", app.getJobExecutorManager().getExecutingJobs());
page.add("completed", app.getJobExecutorManager().getCompleted());
page.add("rootJobNames", app.getAllFlows().getRootFlowNames());
page.add("folderNames", app.getAllFlows().getFolders());
page.add("jobDescComparator", JobDescriptor.NAME_COMPARATOR);
page.render();
}