@Override
  public org.apache.hadoop.mapred.RecordReader<NullWritable, OrcStruct>
  getRecordReader(InputSplit inputSplit, JobConf conf,
                  Reporter reporter) throws IOException {
    //CombineHiveInputFormat may produce FileSplit that is not OrcSplit
    boolean vectorMode = Utilities.getIsVectorized(conf);
    boolean isAcidRead = isFullAcidRead(conf, inputSplit);
    if (!isAcidRead) {
      if (vectorMode) {
        return createVectorizedReader(inputSplit, conf, reporter);
      } else {
        OrcFile.ReaderOptions readerOptions = OrcFile.readerOptions(conf);
        if (inputSplit instanceof OrcSplit) {
          OrcSplit split = (OrcSplit) inputSplit;
          readerOptions.maxLength(split.getFileLength()).orcTail(split.getOrcTail());
        }
        return new OrcRecordReader(OrcFile.createReader(
            ((FileSplit) inputSplit).getPath(),
            readerOptions),
            conf, inputSplit);
      }
    }

    reporter.setStatus(inputSplit.toString());
    //if here we are now doing an Acid read so must have OrcSplit.  CombineHiveInputFormat is
    // disabled for acid path
    OrcSplit split = (OrcSplit) inputSplit;

    if (vectorMode) {
      return (org.apache.hadoop.mapred.RecordReader)
          new VectorizedOrcAcidRowBatchReader(split, conf, reporter);
    }

    Options options = new Options(conf).reporter(reporter);
    final RowReader<OrcStruct> inner = getReader(inputSplit, options);
    // Non-vectorized regular ACID reader.
    return new NullKeyRecordReader(inner, conf);
  }
Class intended to update two values from methods... Java-related cruft.
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java