@Override
    public JobContext newJobContext(Configuration jobConf) throws IOException {
      // Implementing:
      // return new JobContext(jobConf, new JobID());
      JobID jobId = new JobID();
      Constructor<JobContext> c;
      try {
        c = JobContext.class.getConstructor(Configuration.class, JobID.class);
        return c.newInstance(jobConf, jobId);
      } catch (Exception e) {
        throw new IllegalStateException(
          "Failed to instantiate new JobContext(jobConf, new JobID())", e);
      }
    }
This class provides shims for HBase to interact with the Hadoop 1.0.x and the Hadoop 0.23.x
series. NOTE: No testing done against 0.22.x, or 0.21.x.
hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/MapreduceTestingShim.java