public static JobContext getJobContext(String alias, JobContext context) {
    String aliasConf = context.getConfiguration().get(getAliasConfName(alias));
    JobContext aliasContext = ShimLoader.getHadoopShims().getHCatShim().createJobContext(
        context.getConfiguration(), context.getJobID());
    addToConfig(aliasConf, aliasContext.getConfiguration());
    return aliasContext;
  }
Get the JobContext with the related OutputFormat configuration populated given the alias
and the actual JobContext
@param alias the name given to the OutputFormat configuration
@param context the JobContext
@return a copy of the JobContext with the alias configuration populated
hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/MultiOutputFormat.java