736737738739740741742743744745746
NullWritable.class); Job job = mO.createJob(); try { assertTrue(job.waitForCompletion(true)); } finally { mO.cleanUpInstanceFiles(); } HadoopUtils.deleteIfExists(fS, inPath); HadoopUtils.deleteIfExists(fS, outPath); }
341342343344345346347348349350351
} } catch (Exception e) { throw new TupleSamplerException("Error creating or launching the sampling job.", e); }finally { try { builder.cleanUpInstanceFiles(); } catch (IOException e) { throw new TupleSamplerException("Error cleaning up the sampling job.", e); } }
119120121122123124125126127128129
}); Job j = job.createJob(); try { j.waitForCompletion(true); } finally { job.cleanUpInstanceFiles(); } return 1; }