Exemplo n.º 1
0
 public static String toString(JobId jid) {
   return _join(JOB, jid.getAppId().getClusterTimestamp(), jid.getAppId().getId(), jid.getId());
 }
Exemplo n.º 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();
 }