You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Patrick Hunt (Created) (JIRA)" <ji...@apache.org> on 2012/01/18 07:40:40 UTC

[jira] [Created] (PIG-2480) TestUDFContext.testUDFContext failing against hadoop 23

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

        

[jira] [Commented] (PIG-2480) TestUDFContext.testUDFContext failing against hadoop 23

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188324#comment-13188324 ] 

Daniel Dai commented on PIG-2480:
---------------------------------

The issue Harsh saw is fixed by PIG-2347.
                
> 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
>            Assignee: Daniel Dai
>             Fix For: 0.9.2
>
>         Attachments: PIG-2480-1.patch, TEST-org.apache.pig.test.TestUDFContext.txt.gz
>
>
> 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

        

[jira] [Updated] (PIG-2480) TestUDFContext.testUDFContext failing against hadoop 23

Posted by "Daniel Dai (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai updated PIG-2480:
----------------------------

    Attachment: PIG-2480-1.patch
    
> 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
>         Attachments: PIG-2480-1.patch, TEST-org.apache.pig.test.TestUDFContext.txt.gz
>
>
> 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

        

[jira] [Updated] (PIG-2480) TestUDFContext.testUDFContext failing against hadoop 23

Posted by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated PIG-2480:
------------------------------

    Attachment: TEST-org.apache.pig.test.TestUDFContext.txt.gz

Harsh that's different from what I see - attached. fwiw I was running with 0.9.2rc1.
                
> 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
>         Attachments: TEST-org.apache.pig.test.TestUDFContext.txt.gz
>
>
> 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

        

[jira] [Commented] (PIG-2480) TestUDFContext.testUDFContext failing against hadoop 23

Posted by "Harsh J (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Resolved] (PIG-2480) TestUDFContext.testUDFContext failing against hadoop 23

Posted by "Daniel Dai (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai resolved PIG-2480.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.2
         Assignee: Daniel Dai

Commit to 0.9 branch (Since the fix is trivial and is to fix a failed unit test, skip the review)

The same issue does not exist in 0.10/trunk.
                
> 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
>            Assignee: Daniel Dai
>             Fix For: 0.9.2
>
>         Attachments: PIG-2480-1.patch, TEST-org.apache.pig.test.TestUDFContext.txt.gz
>
>
> 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