LOG.info("TeraGen took {} ms", stopWatch.getTime());
}
private void runTeraSort() throws Exception {
StopWatch stopWatch = new StopWatch();
TeraSort teraSort = new TeraSort();
teraSort.setConf(controller.getJobConf());
LOG.info("Starting TeraSort");
stopWatch.start();
teraSort.run(new String[] { "input", "output" });
stopWatch.stop();
LOG.info("TeraSort took {} ms", stopWatch.getTime());
}