assert nativeSplit != null;
OutputFormat outputFormat = null;
Exception err = null;
JobContextImpl jobCtx = taskCtx.jobContext();
try {
InputFormat inFormat = ReflectionUtils.newInstance(jobCtx.getInputFormatClass(),
hadoopContext().getConfiguration());
RecordReader reader = inFormat.createRecordReader(nativeSplit, hadoopContext());
reader.initialize(nativeSplit, hadoopContext());
hadoopContext().reader(reader);
GridHadoopJobInfo jobInfo = taskCtx.job().info();
outputFormat = jobInfo.hasCombiner() || jobInfo.hasReducer() ? null : prepareWriter(jobCtx);
Mapper mapper = ReflectionUtils.newInstance(jobCtx.getMapperClass(), hadoopContext().getConfiguration());
try {
mapper.run(new WrappedMapper().getMapContext(hadoopContext()));
}
finally {