@Test
public void testAttemptPathConstructionNoSchema() throws Exception {

  Configuration config = new Configuration();
  final String jobUUID = addUUID(config);
  config.set(BUFFER_DIR, "/tmp/mr-local-0,/tmp/mr-local-1");
  String commonPath = "file:/tmp/mr-local-";
  assertThat("Missing scheme should produce local file paths",
      getLocalTaskAttemptTempDir(config,
          jobUUID, tac.getTaskAttemptID()).toString(),
      StringStartsWith.startsWith(commonPath));
}