Description
In order to build Pig and run its unit tests with ant, Pig needs to be built and run against a hadoop jar file that not only has the MiniDFSCluster and MiniMRCluster classes but also has classes from several 3rd party libraries. I added a target to the build.xml file of Hadoop for that purpose (see the "Compile code for Pig" section in the attached build.xml). I also attached the resulted hadoop jar with this report.