Question : You have created two jobs JobA and JobB. And you also implemented mapper and reducer named as MapperA , MapperB, ReducerA and ReducerB. Now you have following Driver code main method
public void main(String args[]){ JobConf jobA = new JobConf(); jobA.setMapperClaas(MapperA.class); jobA.setReducerClas(ReducerA.class); JobClient.runJob(jobA);
JobConf jobB = new JobConf(); jobB.setMapperClaas(MapperB.class); jobB.setReducerClas(ReducerB.class); JobClient.runJob(jobB);
}
1. In this case both jobA and jobB run in parallel
2. Both JobA and JobB can run in any Random order based on input data size
Question : Please keep below statements in their execution order A. One or more mappers B. Shuffle phase C. Exactly one reducer D. Zero or more mappers 1. A,B,C,D