Hi Samudra,
sorry for not replying earlier. I have looked at it and it seems that I used an API that was introduced with hadoop2 in this class. I've looked at it
but did not have the time to test and fix it.
I think it should work if you modify the method copyRecursively to use
if (this.localFS.exists(results_dir) && this.localFS.listStatus(results_dir).length > 0)
instead of listFiles. This should also work in Hadoop2. It would be great if you could give feedback if that worked.
Best,
-hp