/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
@Override public String toString() { StringBuilder builder = new StringBuilder(JOB); builder.append(SEPARATOR); builder.append(getAppId().getClusterTimestamp()); builder.append(SEPARATOR); builder.append(jobIdFormat.get().format(getId())); return builder.toString(); }
@Override public String toString() { StringBuilder builder = new StringBuilder(JOB); builder.append(SEPARATOR); builder.append(getAppId().getClusterTimestamp()); builder.append(SEPARATOR); builder.append(jobIdFormat.get().format(getId())); return builder.toString(); }
@Override public String toString() { StringBuilder builder = new StringBuilder(JOB); builder.append(SEPARATOR); builder.append(getAppId().getClusterTimestamp()); builder.append(SEPARATOR); builder.append(jobIdFormat.get().format(getId())); return builder.toString(); }
@Override public String toString() { StringBuilder builder = new StringBuilder(JOB); builder.append(SEPARATOR); builder.append(getAppId().getClusterTimestamp()); builder.append(SEPARATOR); builder.append(jobIdFormat.get().format(getId())); return builder.toString(); }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + getAppId().hashCode(); result = prime * result + getId(); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + getAppId().hashCode(); result = prime * result + getId(); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + getAppId().hashCode(); result = prime * result + getId(); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + getAppId().hashCode(); result = prime * result + getId(); return result; }
public static org.apache.hadoop.mapred.JobID fromYarn(JobId id) { String identifier = fromClusterTimeStamp(id.getAppId().getClusterTimestamp()); return new org.apache.hadoop.mapred.JobID(identifier, id.getId()); }
public static org.apache.hadoop.mapred.JobID fromYarn(JobId id) { String identifier = fromClusterTimeStamp(id.getAppId().getClusterTimestamp()); return new org.apache.hadoop.mapred.JobID(identifier, id.getId()); }
public static org.apache.hadoop.mapred.JobID fromYarn(JobId id) { String identifier = fromClusterTimeStamp(id.getAppId().getClusterTimestamp()); return new org.apache.hadoop.mapred.JobID(identifier, id.getId()); }