Path outputLoc = new Path("/tmp/outPath_" + System.currentTimeMillis());
TestOrderedWordCount wordCount = new TestOrderedWordCount();
wordCount.setConf(new Configuration(miniTezCluster.getConfig()));
String[] args = new String[] { inputLoc.toString(), outputLoc.toString() };
assertEquals(expectedResult, wordCount.run(args));
}
/**
* Verify whether shuffle works in mini cluster
*