App app = apps.get(appName);
int priority = usermgr.getUserPriority(submitter);
Job j = app.parse(submitter, commands, priority);
j.setId(atomic_job_id.getAndIncrement());
//partition this job into tasks
List<Task> tasks = app.fragment(j);
JobInfo ji = new JobInfo(j.getId(), j.getSubmitter(),commands);
for (Task t : tasks)
{
ji.add(new TaskInfo(t));
}