hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-190) Got ClassCastException when using BinaryStorage on the load statement
Date Mon, 07 Apr 2008 19:07:28 GMT

    [ https://issues.apache.org/jira/browse/PIG-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586498#action_12586498
] 

Xu Zhang commented on PIG-190:
------------------------------

I did not see the ClassCastException exception anymore, but the output of the streaming (ie,
the contents of the results_38 is not what I expected.

> Got ClassCastException when using BinaryStorage on the load statement
> ---------------------------------------------------------------------
>
>                 Key: PIG-190
>                 URL: https://issues.apache.org/jira/browse/PIG-190
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Xu Zhang
>            Assignee: Arun C Murthy
>
> With the following Pig script, I got the exception below:
> {code}
> A = load '/user/xu/test/PigLoggingTest' using BinaryStorage() split by 'file';
> B = stream A through `BinaryReadWrite.pl -o f`;
> store B into 'results_38';
> {code}
> {noformat}
> 2008-04-04 21:34:08,619 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.lang.ClassCastException:
org.apache.pig.builtin.BinaryStorage
>         at org.apache.pig.builtin.PigStorage.equals(PigStorage.java:93)
>         at org.apache.pig.impl.logicalLayer.optimizer.streaming.LoadOptimizer.visitEval(LoadOptimizer.java:85)
>         at org.apache.pig.impl.logicalLayer.LOEval.visit(LOEval.java:98)
>         at org.apache.pig.impl.logicalLayer.LOVisitor.basicVisit(LOVisitor.java:115)
>         at org.apache.pig.impl.logicalLayer.LOVisitor.visitStore(LOVisitor.java:106)
>         at org.apache.pig.impl.logicalLayer.optimizer.streaming.LoadOptimizer.visitStore(LoadOptimizer.java:123)
>         at org.apache.pig.impl.logicalLayer.LOStore.visit(LOStore.java:121)
>         at org.apache.pig.impl.logicalLayer.optimizer.streaming.LoadOptimizer.optimize(LoadOptimizer.java:134)
>         at org.apache.pig.PigServer.optimizeAndRunQuery(PigServer.java:391)
>         at org.apache.pig.PigServer.registerQuery(PigServer.java:280)
>         at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:446)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:226)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:62)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:60)
>         at org.apache.pig.Main.main(Main.java:265)
> 2008-04-04 21:34:08,621 [main] ERROR org.apache.pig.tools.grunt.Grunt - org.apache.pig.builtin.BinaryStorage
> {noformat}

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


Mime
View raw message