You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Plamen Paskov (JIRA)" <ji...@apache.org> on 2016/12/21 10:41:58 UTC

[jira] [Resolved] (PIG-5077) Problem running pigunit sample test

     [ https://issues.apache.org/jira/browse/PIG-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Plamen Paskov resolved PIG-5077.
--------------------------------
    Resolution: Not A Bug

> Problem running pigunit sample test
> -----------------------------------
>
>                 Key: PIG-5077
>                 URL: https://issues.apache.org/jira/browse/PIG-5077
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.16.0
>            Reporter: Plamen Paskov
>              Labels: test
>
> Hi,
> I'm trying to execute the sample test(testNtoN) found in your svn trunk(http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/pigunit/TestPigTest.java?revision=1662348&view=markup) but I have a lot of problems. First of all I'm trying to run the test under IntelliJ 2016.3 as jUnit. I'm using maven 3 as a build tool and dependency manager. So in your documentation you've written that we only need pig, pigunit and hadoop-common. But this way throws exceptions for missing classes. Then I had to add hadoop-hdfs, hadoop-mapreduce-client-core, hadoop-mapreduce-client-jobclient in order to resolve this problem(I don't think that this must be that way). But then comes the interesing part- I receive the following error 
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias queries_group. I tried to debug it and this happens while trying to build the query plan and acquire the ExecJob. I even tried to simplify the script and remove everything but the code for loading and storing the data. The result was the same. So I'm almost desperate and I hope someone can help me with this.
> Cheers,
> Plamen



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)