JoinDataGen dataGen = new JoinDataGen();
String[] dataGenArgs = new String[] {
dataPath1.toString(), "1048576", dataPath2.toString(), "524288",
expectedOutputPath.toString(), "2" };
assertEquals(0, dataGen.run(tezConf, dataGenArgs, tezSession));
JoinExample intersect = new JoinExample();
String[] intersectArgs = new String[] {
dataPath1.toString(), dataPath2.toString(), "2", outPath.toString() };
assertEquals(0, intersect.run(tezConf, intersectArgs, tezSession));