code: @Override
    public final void abortJob(org.apache.hadoop.mapreduce.JobContext context, 
                            org.apache.hadoop.mapreduce.JobStatus.State runState) 
    throws IOException {
      int state = JobStatus.getOldNewJobRunState(runState);
      if (state != JobStatus.FAILED && state != JobStatus.KILLED) {
        throw new IOException ("Invalid job run state : " + runState.name());
      }
      abortJob((JobContext) context, state);
    }
docs: This method implements the new interface by calling the old method. Note
  that the input types are different between the new and old apis and this
  is a bridge between the two.