return toThrift(job, true, tracker);
}
public static ThriftJobProfile toThrift(JobProfile profile) {
// Takes no locks
ThriftJobProfile ret = new ThriftJobProfile();
ret.setJobFile(profile.getJobFile());
ret.setJobID(toThrift(profile.getJobID()));
ret.setName(profile.getJobName());
ret.setQueueName(profile.getQueueName());
ret.setUser(profile.getUser());
return ret;
}