@Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("StagingCommitter{");
    sb.append(super.toString());
    sb.append(", commitsDirectory=").append(commitsDirectory);
    sb.append(", uniqueFilenames=").append(uniqueFilenames);
    sb.append(", conflictResolution=").append(conflictResolution);
    sb.append(", uploadPartSize=").append(uploadPartSize);
    if (wrappedCommitter != null) {
      sb.append(", wrappedCommitter=").append(wrappedCommitter);
    }
    sb.append('}');
    return sb.toString();
  }
@Test
  public void testAttemptPathConstructionNoSchema() throws Exception {
    Configuration config = newConfig();
    final String jobUUID = addUUID(config);
    config.set(BUFFER_DIR, "/tmp/mr-local-0,/tmp/mr-local-1");
    String commonPath = "file:/tmp/mr-local-";
    Assertions.assertThat(getLocalTaskAttemptTempDir(config,
        jobUUID, tac.getTaskAttemptID()).toString())
        .describedAs("Missing scheme should produce local file paths")
        .startsWith(commonPath)
        .contains(jobUUID);
  }