System.out.println("============================================");
System.out.println("Test case MultipleMRJobs");
System.out.println("============================================");
JobGraph jp = pigStats.getJobGraph();
MRJobStats js = (MRJobStats)jp.getSinks().get(0);
System.out.println("Job id: " + js.getName());
System.out.println(jp.toString());
System.out.println("Map input records : " + js.getMapInputRecords());
assertEquals(MAX, js.getMapInputRecords());
System.out.println("Map output records : " + js.getMapOutputRecords());
assertEquals(MAX, js.getMapOutputRecords());
System.out.println("Reduce input records : " + js.getReduceInputRecords());
assertEquals(count, js.getReduceInputRecords());
System.out.println("Reduce output records : " + js.getReduceOutputRecords());
assertEquals(count, js.getReduceOutputRecords());
System.out.println("Hdfs bytes written : " + js.getHdfsBytesWritten());
assertEquals(filesize, js.getHdfsBytesWritten());
}