You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2013/02/01 22:00:12 UTC

[jira] [Created] (PIG-3156) TestSchemaTuple fails in trunk

Cheolsoo Park created PIG-3156:
----------------------------------

             Summary: TestSchemaTuple fails in trunk
                 Key: PIG-3156
                 URL: https://issues.apache.org/jira/browse/PIG-3156
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.12
            Reporter: Cheolsoo Park
             Fix For: 0.12


To reproduce the issue, do:
{code}
ant clean test -Dtestcase=TestSchemaTuple
{code}
All 3 test cases fail with the following error:
{code}
Caused by: java.lang.RuntimeException: Unable to compile
    at org.apache.pig.impl.util.JavaCompilerHelper.compile(JavaCompilerHelper.java:83)
    at org.apache.pig.data.SchemaTupleClassGenerator.compileCodeString(SchemaTupleClassGenerator.java:233)
    at org.apache.pig.data.SchemaTupleClassGenerator.generateSchemaTuple(SchemaTupleClassGenerator.java:186)
    at org.apache.pig.data.SchemaTupleFrontend$SchemaTupleFrontendGenHelper.generateAll(SchemaTupleFrontend.java:203)
    at org.apache.pig.data.SchemaTupleFrontend$SchemaTupleFrontendGenHelper.access$100(SchemaTupleFrontend.java:91)
    at org.apache.pig.data.SchemaTupleFrontend.copyAllGeneratedToDistributedCache(SchemaTupleFrontend.java:278)
    at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:656)
{code}
I found that this was introduced by PIG-2764.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira