public static String getApplicationIdFromJobId(String jobId) {
    return jobId.replaceAll("job", "application");
  }
Given a mapreduce job's job id, get its corresponding YARN application id.

@param jobId The job id of the job
@return the corresponding application id
app/com/linkedin/drelephant/util/Utils.java