@Override
  public void doClose() throws IOException {
    recordReader.close();
  }
HiveRecordReader is a simple wrapper on RecordReader. It allows us to stop
reading the data when some global flag ExecMapper.getDone() is set.
ql/src/java/org/apache/hadoop/hive/ql/io/HiveRecordReader.java