Affects Version/s: 0.9.3
Fix Version/s: None
Patch Info:Patch Available
I am running Pig unit tests against Hadoop 2.0.0-SNAPSHOT as follows:
And I see the following issues:
1) copyFromLocalToCluster fails:
I am getting around this problem by explicitly creating intermediate directories that do not exist. (Please see the attached patch.)
2) Many tests including TestAccumulator hang and eventually timeout. The JVM thread dump shows the following call stack:
This is because test jobs are never finished in the mini cluster. The reason why test jobs are never finished is because they fail with a ClassNotFound exception while being executed.
In fact, this is a regression of
HADOOP-6963 where hadoop introduced dependency on Apache Commons IO library:
But the Apache Commons IO library is missing in Pig, so test jobs keep failing in the mini cluster until timeout.
I am fixing this issue by adding commons-io-2.3.jar to ivy.xml and library.properties. (Please see the attached patch.)