You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jonathan Coveney (JIRA)" <ji...@apache.org> on 2013/02/08 08:29:13 UTC
[jira] [Commented] (PIG-3156) TestSchemaTuple fails in trunk
[ https://issues.apache.org/jira/browse/PIG-3156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574302#comment-13574302 ]
Jonathan Coveney commented on PIG-3156:
---------------------------------------
This makes sense. When it runs into a type that it doesn't recognize, it dies. Not sure why the DateTime stuff didn't kill it, though.
I won't be able to code anything for probably about a week (I am in transit), but I'd be happy to review anything. I will try and bang out the fix if I have a spare moment though. I do not think it is a very complicated fix.
> 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