public static TaskTracker createTaskTracker(JobConf jConf, Class ttClass)
throws IOException {
try {
Constructor<?> constructor =
ttClass.getDeclaredConstructor(new Class[]{JobConf.class});
TaskTracker tt =
(TaskTracker) constructor.newInstance(jConf);
return tt;
} catch (NoSuchMethodException e) {
throw new IOException(e);
} catch (InvocationTargetException e) {