code: public void run(Context context) throws IOException, InterruptedException {
      setup(context);
      while (context.nextKeyValue()) {
        map(context.getCurrentKey(), context.getCurrentValue(), context);
      }
      cleanup(context);
    }
docs: Expert users can override this method for more complete control over the
  execution of the Mapper.
  @param context
  @throws IOException