@Override
    public Job newJob(Configuration jobConf) {
      // Implementing:
      // return Job.getInstance(jobConf);
      try {
        Method m = Job.class.getMethod("getInstance", Configuration.class);
        return (Job) m.invoke(null, jobConf); // static method, then arg
      } catch (Exception e) {
        e.printStackTrace();
        throw new IllegalStateException("Failed to return from Job.getInstance(jobConf)");
      }
    }
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