예제 #1
0
 public static String toString(JobId jid) {
   return _join(JOB, jid.getAppId().getClusterTimestamp(), jid.getAppId().getId(), jid.getId());
 }
예제 #2
0
 /**
  * Computes a serial number used as part of directory naming for the given jobId.
  *
  * @param id the jobId.
  * @return the serial number used as part of directory naming for the given jobid
  */
 public static int jobSerialNumber(JobId id) {
   return id.getId();
 }