@Test
public void testHFilePath() {

  Path outputDir = new Path("/abc/def");
  int partitionIndex = 233;
  Path expectedDir = new Path("/abc/def/" + TerrapinUtil.formatPartitionName(233));
  assertEquals(expectedDir, HFileOutputFormat.hfilePath(outputDir, partitionIndex));
}