hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-239) illustrate followed by dump gives a runtime exception
Date Thu, 15 May 2008 22:08:55 GMT

     [ https://issues.apache.org/jira/browse/PIG-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pradeep Kamath updated PIG-239:
-------------------------------


The above sequence of commands without the illustrate command works fine.

> illustrate followed by dump gives a runtime exception
> -----------------------------------------------------
>
>                 Key: PIG-239
>                 URL: https://issues.apache.org/jira/browse/PIG-239
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Pradeep Kamath
>            Assignee: Shubham Chopra
>
> Here is a session which outlines the issue:
> grunt> a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age,gpa);
> grunt> b = filter a by name lt 'b';
> grunt> c = foreach b generate TOKENIZE(name);
> grunt> illustrate c;
> -----------------------------------------
> | a     | name          | age   | gpa   |
> -----------------------------------------
> |       | tom xylophone | 69    | 0.04  |
> |       | alice ovid    | 75    | 3.89  |
> -----------------------------------------
> --------------------------------------
> | b     | name       | age   | gpa   |
> --------------------------------------
> |       | alice ovid | 75    | 3.89  |
> --------------------------------------
> -----------------------------
> | c     | (token )          |
> -----------------------------
> |       | {(alice), (ovid)} |
> -----------------------------
> grunt> dump c;
> 2008-05-15 14:35:54,476 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.RuntimeException:
java.io.IOException: Serialization error: org.apache.pig.impl.util.
> LineageTracer
>         at org.apache.pig.backend.hadoop.executionengine.POMapreduce.copy(POMapreduce.java:242)
>         at org.apache.pig.backend.hadoop.executionengine.MapreducePlanCompiler.compile(MapreducePlanCompiler.java:115)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(HExecutionEngine.java:232)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(HExecutionEngine.java:209)
>         at org.apache.pig.PigServer.optimizeAndRunQuery(PigServer.java:410)
>         at org.apache.pig.PigServer.openIterator(PigServer.java:332)
>         at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:265)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:162)
>         at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:73)
>         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
>         at org.apache.pig.Main.main(Main.java:270)
> Caused by: java.io.IOException: Serialization error: org.apache.pig.impl.util.LineageTracer
>         at org.apache.pig.impl.util.WrappedIOException.wrap(WrappedIOException.java:16)
>         at org.apache.pig.impl.util.ObjectSerializer.serialize(ObjectSerializer.java:44)
>         at org.apache.pig.backend.hadoop.executionengine.POMapreduce.copy(POMapreduce.java:233)
>         ... 10 more
> Caused by: java.io.NotSerializableException: org.apache.pig.impl.util.LineageTracer
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
>         at java.util.ArrayList.writeObject(ArrayList.java:569)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
>         at java.util.ArrayList.writeObject(ArrayList.java:569)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
>         at org.apache.pig.impl.util.ObjectSerializer.serialize(ObjectSerializer.java:40)
>         ... 11 more
> 2008-05-15 14:35:54,480 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.RuntimeException:
java.io.IOException: Serialization error: org.apache.pig.impl.util.LineageTracer
> grunt>

-- 
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