static synchronized String getOutputName(TaskAttemptContext context) {
    return context.getConfiguration().get("mapreduce.output.basename", "part")
        + "-" + NUMBER_FORMAT.format(context.getTaskAttemptID().getTaskID().getId());
  }
Bare bones implementation of OutputFormatContainer. Does only the required
tasks to work properly with HCatalog. HCatalog features which require a
storage specific implementation are unsupported (ie partitioning).
hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DefaultOutputFormatContainer.java