[ https://issues.apache.org/jira/browse/PIG-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188308#comment-13188308 ]
Harsh J commented on PIG-2480: ------------------------------ While the cluster setup seems redundant and can be removed, the real failure seems to be cause of a class-not-found, arising out of the need for commons-httpclient which doesn't seem to be available for the test's LocalJobRunner to use: {code} ------------- Standard Error ----------------- Jan 18, 2012 12:33:15 PM com.google.inject.servlet.GuiceFilter setPipeline WARNING: Multiple injectors detected. Please install only one ServletModule in your web application. While you may have more than one injector, you should only configure guice-servlet in one of them. (Hint: look for legacy ServetModules or multiple calls to Servlets.configure()). Jan 18, 2012 12:33:17 PM com.google.inject.servlet.GuiceFilter setPipeline WARNING: Multiple injectors detected. Please install only one ServletModule in your web application. While you may have more than one injector, you should only configure guice-servlet in one of them. (Hint: look for legacy ServetModules or multiple calls to Servlets.configure()). Jan 18, 2012 12:33:20 PM com.google.inject.servlet.GuiceFilter setPipeline WARNING: Multiple injectors detected. Please install only one ServletModule in your web application. While you may have more than one injector, you should only configure guice-servlet in one of them. (Hint: look for legacy ServetModules or multiple calls to Servlets.configure()). Jan 18, 2012 12:33:22 PM com.google.inject.servlet.GuiceFilter setPipeline WARNING: Multiple injectors detected. Please install only one ServletModule in your web application. While you may have more than one injector, you should only configure guice-servlet in one of them. (Hint: look for legacy ServetModules or multiple calls to Servlets.configure()). Jan 18, 2012 12:33:23 PM com.google.inject.servlet.GuiceFilter setPipeline WARNING: Multiple injectors detected. Please install only one ServletModule in your web application. While you may have more than one injector, you should only configure guice-servlet in one of them. (Hint: look for legacy ServetModules or multiple calls to Servlets.configure()). XXX: Setting fs.default.name to: hdfs://localhost:55361 Exception in thread "Thread-366" java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:475) Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpMethod at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 1 more ------------- ---------------- --------------- Testcase: testUDFContext took 39.467 sec Caused an ERROR Unable to open iterator for alias D org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias D at org.apache.pig.PigServer.openIterator(PigServer.java:858) at org.apache.pig.test.TestUDFContext.testUDFContext(TestUDFContext.java:72) Caused by: java.io.IOException: Job terminated with anomalous status FAILED at org.apache.pig.PigServer.openIterator(PigServer.java:850) Testcase: testUDFContextReset took 0.253 sec {code} > TestUDFContext.testUDFContext failing against hadoop 23 > ------------------------------------------------------- > > Key: PIG-2480 > URL: https://issues.apache.org/jira/browse/PIG-2480 > Project: Pig > Issue Type: Bug > Affects Versions: 0.9.2 > Reporter: Patrick Hunt > > I'm seeing one remaining test failure against hadoop 23 -- TestUDFContext, > run as: > ant -Dhadoopversion=23 -Dtestcase=TestUDFContext clean test > it fails with the following using 0.9.2 rc1 > Failed to read data from "/home/phunt/Downloads/p/pig-0.9.2/a.txt" > Failed to read data from "/home/phunt/Downloads/p/pig-0.9.2/b.txt" > Looks like a test setup issue to me but it's not entirely clear what the test > is shooting for. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira