Example #1
0
 public MemoryMapContext(final Mapper.Context context) throws IOException, InterruptedException {
   super(
       context.getConfiguration(),
       context.getTaskAttemptID() == null ? new TaskAttemptID() : context.getTaskAttemptID(),
       null,
       null,
       context.getOutputCommitter(),
       null,
       context.getInputSplit());
   this.context = context;
   this.globalConfiguration = context.getConfiguration();
 }