code: public static void setClassConf(Class<? extends TBase<?, ?> > thriftClass, Configuration conf) {
      ThriftUtils.setClassConf(conf, RCFileThriftOutputFormat.class, thriftClass);
    }
docs: Stores supplied class name in configuration. This configuration is
  read on the remote tasks to initialize the output format correctly.