public static <K, V> void write(String alias, K key, V value, TaskInputOutputContext context)
    throws IOException, InterruptedException {
    KeyValue<K, V> keyval = new KeyValue<K, V>(key, value);
    context.write(new Text(alias), keyval);
  }
Write the output key and value using the OutputFormat defined by the
alias.

@param alias the name given to the OutputFormat configuration
@param key the output key to be written
@param value the output value to be written
@param context the Mapper or Reducer Context
@throws IOException
@throws InterruptedException
hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/MultiOutputFormat.java