@Override
  public void checkOutputSpecs(JobContext context) throws IOException, InterruptedException {
    org.apache.hadoop.mapred.OutputFormat<? super WritableComparable<?>, ? super Writable> outputFormat = getBaseOutputFormat();
    JobConf jobConf = new JobConf(context.getConfiguration());
    outputFormat.checkOutputSpecs(null, jobConf);
    HCatUtil.copyConf(jobConf, context.getConfiguration());
  }
Check for validity of the output-specification for the job.
@param context information about the job
@throws IOException when output should not be attempted
hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DefaultOutputFormatContainer.java