public static boolean handleRecordReaderNextException(Exception e, JobConf job)
      throws IOException {
    LOG.error("RecordReader#next() threw an exception: ", e);
    HiveIOExceptionHandlerChain ioExpectionHandlerChain = get(job);
    if (ioExpectionHandlerChain != null) {
      return ioExpectionHandlerChain.handleRecordReaderNextException(e);
    }
    throw new IOException(e);
  }
Handle exception thrown when calling record reader's next. If this
exception is handled by one handler, will just return true. Otherwise,
either re-throw this exception in one handler or at the end of the handler
chain.

@param e
@param job
@return true on success
@throws IOException
shims/common/src/main/java/org/apache/hadoop/hive/io/HiveIOExceptionHandlerUtil.java