You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Christopher Olston (JIRA)" <ji...@apache.org> on 2009/02/13 23:32:59 UTC

[jira] Created: (PIG-679) error message suppressed due to class cast exception

error message suppressed due to class cast exception
----------------------------------------------------

                 Key: PIG-679
                 URL: https://issues.apache.org/jira/browse/PIG-679
             Project: Pig
          Issue Type: Bug
            Reporter: Christopher Olston


weekinclude 14:30:44 ~/workspace/Pig $ cat pig_1234564011522.log 
ERROR 2999: Unexpected internal error. org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
java.lang.ClassCastException: org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
        at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1096)
        at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:802)
        at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:595)
        at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:60)
        at org.apache.pig.PigServer.parseQuery(PigServer.java:303)
        at org.apache.pig.PigServer.registerQuery(PigServer.java:269)
        at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:441)
        at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:249)
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:84)
        at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:72)
        at org.apache.pig.Main.main(Main.java:296)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-679) error message suppressed due to class cast exception

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-679:
-------------------------------

    Fix Version/s: 0.9.0

> error message suppressed due to class cast exception
> ----------------------------------------------------
>
>                 Key: PIG-679
>                 URL: https://issues.apache.org/jira/browse/PIG-679
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Christopher Olston
>             Fix For: 0.9.0
>
>
> weekinclude 14:30:44 ~/workspace/Pig $ cat pig_1234564011522.log 
> ERROR 2999: Unexpected internal error. org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
> java.lang.ClassCastException: org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1096)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:802)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:595)
>         at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:60)
>         at org.apache.pig.PigServer.parseQuery(PigServer.java:303)
>         at org.apache.pig.PigServer.registerQuery(PigServer.java:269)
>         at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:441)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:249)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:84)
>         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:72)
>         at org.apache.pig.Main.main(Main.java:296)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-679) error message suppressed due to class cast exception

Posted by "Christopher Olston (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673433#action_12673433 ] 

Christopher Olston commented on PIG-679:
----------------------------------------

It was something that happened while loading a file with BinStorage, but unfortunately I'm no longer able to repeat it.

Anyway, you can see where the cast is happening in the code, and it's an invalid cast.

> error message suppressed due to class cast exception
> ----------------------------------------------------
>
>                 Key: PIG-679
>                 URL: https://issues.apache.org/jira/browse/PIG-679
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Christopher Olston
>
> weekinclude 14:30:44 ~/workspace/Pig $ cat pig_1234564011522.log 
> ERROR 2999: Unexpected internal error. org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
> java.lang.ClassCastException: org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1096)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:802)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:595)
>         at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:60)
>         at org.apache.pig.PigServer.parseQuery(PigServer.java:303)
>         at org.apache.pig.PigServer.registerQuery(PigServer.java:269)
>         at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:441)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:249)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:84)
>         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:72)
>         at org.apache.pig.Main.main(Main.java:296)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-679) error message suppressed due to class cast exception

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673408#action_12673408 ] 

Olga Natkovich commented on PIG-679:
------------------------------------

Is there a script that reproduces this behavior?

> error message suppressed due to class cast exception
> ----------------------------------------------------
>
>                 Key: PIG-679
>                 URL: https://issues.apache.org/jira/browse/PIG-679
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Christopher Olston
>
> weekinclude 14:30:44 ~/workspace/Pig $ cat pig_1234564011522.log 
> ERROR 2999: Unexpected internal error. org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
> java.lang.ClassCastException: org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1096)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:802)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:595)
>         at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:60)
>         at org.apache.pig.PigServer.parseQuery(PigServer.java:303)
>         at org.apache.pig.PigServer.registerQuery(PigServer.java:269)
>         at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:441)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:249)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:84)
>         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:72)
>         at org.apache.pig.Main.main(Main.java:296)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (PIG-679) error message suppressed due to class cast exception

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates reassigned PIG-679:
------------------------------

    Assignee: Alan Gates

> error message suppressed due to class cast exception
> ----------------------------------------------------
>
>                 Key: PIG-679
>                 URL: https://issues.apache.org/jira/browse/PIG-679
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Christopher Olston
>            Assignee: Alan Gates
>             Fix For: 0.9.0
>
>
> weekinclude 14:30:44 ~/workspace/Pig $ cat pig_1234564011522.log 
> ERROR 2999: Unexpected internal error. org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
> java.lang.ClassCastException: org.apache.pig.impl.logicalLayer.FrontendException cannot be cast to java.lang.Error
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1096)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:802)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:595)
>         at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:60)
>         at org.apache.pig.PigServer.parseQuery(PigServer.java:303)
>         at org.apache.pig.PigServer.registerQuery(PigServer.java:269)
>         at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:441)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:249)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:84)
>         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:72)
>         at org.apache.pig.Main.main(Main.java:296)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.