Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5077

Problem running pigunit sample test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 0.16.0
    • None
    • None
    • Important

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pplamen Plamen Paskov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: