You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2008/04/17 19:23:24 UTC
[jira] Created: (PIG-207) New illustrate command does not work in
mapreduce mode.
New illustrate command does not work in mapreduce mode.
-------------------------------------------------------
Key: PIG-207
URL: https://issues.apache.org/jira/browse/PIG-207
Project: Pig
Issue Type: Bug
Components: impl
Affects Versions: 0.0.0
Reporter: Alan Gates
Priority: Minor
In local mode, illustrate will work. But if exectype is set to mapreduce, then:
{noformat}
grunt> a = load 'data/test.txt';
grunt> b = filter a by $0 eq 'f2';
grunt> illustrate b;
2008-04-16 00:03:06,512 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.ClassCastException: org.apache.pig.backend.hadoop.executionengine.HExecutionEngine cannot be cast to org.apache.pig.backend.local.executionengine.LocalExecutionEngine
at org.apache.pig.pen.ExGen.GenerateExamples(ExGen.java:61)
at org.apache.pig.PigServer.showExamples(PigServer.java:573)
at org.apache.pig.PigServer.showExamples(PigServer.java:569)
at org.apache.pig.tools.grunt.GruntParser.processIllustrate(GruntParser.java:131)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:172)
at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:72)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
at org.apache.pig.Main.main(Main.java:272)
{noformat}
dump a and dump b work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-207) New illustrate command does not work in
mapreduce mode.
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-207:
---------------------------
Affects Version/s: (was: 0.0.0)
0.1.0
Status: Patch Available (was: Open)
Patch previously submitted by Shubham
> New illustrate command does not work in mapreduce mode.
> -------------------------------------------------------
>
> Key: PIG-207
> URL: https://issues.apache.org/jira/browse/PIG-207
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.1.0
> Reporter: Alan Gates
> Priority: Minor
> Attachments: exgen.patch
>
>
> In local mode, illustrate will work. But if exectype is set to mapreduce, then:
> {noformat}
> grunt> a = load 'data/test.txt';
> grunt> b = filter a by $0 eq 'f2';
> grunt> illustrate b;
> 2008-04-16 00:03:06,512 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.ClassCastException: org.apache.pig.backend.hadoop.executionengine.HExecutionEngine cannot be cast to org.apache.pig.backend.local.executionengine.LocalExecutionEngine
> at org.apache.pig.pen.ExGen.GenerateExamples(ExGen.java:61)
> at org.apache.pig.PigServer.showExamples(PigServer.java:573)
> at org.apache.pig.PigServer.showExamples(PigServer.java:569)
> at org.apache.pig.tools.grunt.GruntParser.processIllustrate(GruntParser.java:131)
> at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:172)
> at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:72)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:272)
> {noformat}
> dump a and dump b work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-207) New illustrate command does not work in
mapreduce mode.
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-207:
---------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Patch checked in at revision 650688. Thanks Shubham.
> New illustrate command does not work in mapreduce mode.
> -------------------------------------------------------
>
> Key: PIG-207
> URL: https://issues.apache.org/jira/browse/PIG-207
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.1.0
> Reporter: Alan Gates
> Priority: Minor
> Attachments: exgen.patch
>
>
> In local mode, illustrate will work. But if exectype is set to mapreduce, then:
> {noformat}
> grunt> a = load 'data/test.txt';
> grunt> b = filter a by $0 eq 'f2';
> grunt> illustrate b;
> 2008-04-16 00:03:06,512 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.ClassCastException: org.apache.pig.backend.hadoop.executionengine.HExecutionEngine cannot be cast to org.apache.pig.backend.local.executionengine.LocalExecutionEngine
> at org.apache.pig.pen.ExGen.GenerateExamples(ExGen.java:61)
> at org.apache.pig.PigServer.showExamples(PigServer.java:573)
> at org.apache.pig.PigServer.showExamples(PigServer.java:569)
> at org.apache.pig.tools.grunt.GruntParser.processIllustrate(GruntParser.java:131)
> at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:172)
> at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:72)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:272)
> {noformat}
> dump a and dump b work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-207) New illustrate command does not work in
mapreduce mode.
Posted by "Shubham Chopra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shubham Chopra updated PIG-207:
-------------------------------
Attachment: exgen.patch
Patch fixing the bug. The test cases are also modified accordingly to ensure the HDFS connectivity is established using the MiniCluster
> New illustrate command does not work in mapreduce mode.
> -------------------------------------------------------
>
> Key: PIG-207
> URL: https://issues.apache.org/jira/browse/PIG-207
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.0.0
> Reporter: Alan Gates
> Priority: Minor
> Attachments: exgen.patch
>
>
> In local mode, illustrate will work. But if exectype is set to mapreduce, then:
> {noformat}
> grunt> a = load 'data/test.txt';
> grunt> b = filter a by $0 eq 'f2';
> grunt> illustrate b;
> 2008-04-16 00:03:06,512 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.ClassCastException: org.apache.pig.backend.hadoop.executionengine.HExecutionEngine cannot be cast to org.apache.pig.backend.local.executionengine.LocalExecutionEngine
> at org.apache.pig.pen.ExGen.GenerateExamples(ExGen.java:61)
> at org.apache.pig.PigServer.showExamples(PigServer.java:573)
> at org.apache.pig.PigServer.showExamples(PigServer.java:569)
> at org.apache.pig.tools.grunt.GruntParser.processIllustrate(GruntParser.java:131)
> at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:172)
> at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:72)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:272)
> {noformat}
> dump a and dump b work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.