@Test
  public void testHCatExternalDynamicCustomLocation() throws Exception {
    runHCatDynamicPartitionedTable(true, "mapred/externalDynamicOutput/${p1}/${p2}");
  }
Run the external dynamic partitioning test but with single map task
@throws Exception
hcatalog/core/src/test/java/org/apache/hive/hcatalog/mapreduce/TestHCatExternalDynamicPartitioned.java