public static Path getMultipartUploadCommitsDirectory(Configuration conf,
      String uuid) throws IOException {
    return getMultipartUploadCommitsDirectory(FileSystem.get(conf), conf, uuid);
  }
@Test
  public void testMPUCommitDir() throws Throwable {
    Configuration conf = new Configuration();
    LocalFileSystem localFS = FileSystem.getLocal(conf);
    Path dir = getMultipartUploadCommitsDirectory(localFS, conf, "UUID");
    assertTrue(dir.toString().endsWith("UUID/"
        + StagingCommitterConstants.STAGING_UPLOADS));
  }