Attaching an example patch for Yahoo!'s distribution of Hadoop-0.20 not to be committed. This patch backports the FakeObjects utility and framework changes required for supporting the same. test-patch passed. All ant tests except the following passed :
All of the above failures are known issues. TestJobHistory, TestReduceFetch and TestStreamingExitStatus passed when I reran them on my local box. TestJobTrackerRestartWithCS timesout consistently.