I had a suite of pig unit tests that worked fine under pig 12.  But recently 
when I updated to pig 14 they all fail with “Could not retrieve job”.  

I built a standalone project with the minimum hadoop dependencies, and tried 
the pig unit test provided at 
http://pig.apache.org/docs/r0.14.0/test.html#PigUnit+Example

This test verbatim also fails with :
org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open 
iterator for alias queries_limit
        at org.apache.pig.PigServer.openIterator(PigServer.java:935)
        at org.apache.pig.pigunit.PigTest.getAliasFromCache(PigTest.java:217)
        at org.apache.pig.pigunit.PigTest.assertOutput(PigTest.java:267)
        at org.apache.pig.pigunit.PigTest.assertOutput(PigTest.java:300)
        at org.apache.pig.pigunit.PigTest.assertOutput(PigTest.java:285)
        at TestTopQueries.testTop2Queries(TestTopQueries.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


{{ etc }}
Caused by: java.io.IOException: Couldn't retrieve job.
        at org.apache.pig.PigServer.store(PigServer.java:999)
        at org.apache.pig.PigServer.openIterator(PigServer.java:910)
        ... 31 more


Any one have an idea what might be wrong?  Seems like a dependency issue, but 
i’ve tried against various versions and they all fail.  


Thanks,


Aaron Zimmerman


—
Sent from Mailbox

Reply via email to