LOG.info("Unexpected priority in toThrift(JobPriority) - defaulting to NORMAL" );
return ThriftJobPriority.NORMAL;
}
public static ThriftJobID toThrift(JobID jobId) {
ThriftJobID ret = new ThriftJobID();
ret.setJobID(jobId.getId());
ret.setJobTrackerID(jobId.getJtIdentifier());
ret.setAsString(jobId.toString());
return ret;
}