Grokbase Groups Pig dev August 2008
FAQ
Explain followed by Describe throws exception
---------------------------------------------

Key: PIG-407
URL: https://issues.apache.org/jira/browse/PIG-407
Project: Pig
Issue Type: Bug
Affects Versions: types_branch
Reporter: Santhosh Srinivasan
Assignee: Santhosh Srinivasan
Fix For: types_branch


{code}
A = load '/user/sms/data/student.data' using PigStorage(' ') as (name: chararray, age: int, gpa: float);
B = group A by $1;
C = foreach B{ D = order A by $0; generate D; }
describe C;
describe B;
explain C;
describe B;


56335 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.NullPointerException
at org.apache.pig.impl.logicalLayer.LOVisitor.visit(LOVisitor.java:121)
at org.apache.pig.impl.logicalLayer.PlanSetter.visit(PlanSetter.java:58)
at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:262)
at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:39)
at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:65)
at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67)
at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50)
at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)
at org.apache.pig.PigServer.compileLp(PigServer.java:549)
at org.apache.pig.PigServer.dumpSchema(PigServer.java:285)
at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:181)
at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
at org.apache.pig.Main.main(Main.java:282)

{code}

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

Search Discussions

  • Santhosh Srinivasan (JIRA) at Aug 30, 2008 at 1:10 am
    [ https://issues.apache.org/jira/browse/PIG-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Santhosh Srinivasan updated PIG-407:
    ------------------------------------

    Component/s: impl
    Explain followed by Describe throws exception
    ---------------------------------------------

    Key: PIG-407
    URL: https://issues.apache.org/jira/browse/PIG-407
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: types_branch
    Reporter: Santhosh Srinivasan
    Assignee: Santhosh Srinivasan
    Fix For: types_branch


    {code}
    A = load '/user/sms/data/student.data' using PigStorage(' ') as (name: chararray, age: int, gpa: float);
    B = group A by $1;
    C = foreach B{ D = order A by $0; generate D; }
    describe C;
    describe B;
    explain C;
    describe B;
    56335 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.LOVisitor.visit(LOVisitor.java:121)
    at org.apache.pig.impl.logicalLayer.PlanSetter.visit(PlanSetter.java:58)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:262)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:39)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:65)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67)
    at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50)
    at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)
    at org.apache.pig.PigServer.compileLp(PigServer.java:549)
    at org.apache.pig.PigServer.dumpSchema(PigServer.java:285)
    at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:181)
    at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
    at org.apache.pig.Main.main(Main.java:282)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at Sep 11, 2008 at 8:12 pm
    [ https://issues.apache.org/jira/browse/PIG-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath reassigned PIG-407:
    ----------------------------------

    Assignee: Pradeep Kamath (was: Santhosh Srinivasan)
    Explain followed by Describe throws exception
    ---------------------------------------------

    Key: PIG-407
    URL: https://issues.apache.org/jira/browse/PIG-407
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: types_branch
    Reporter: Santhosh Srinivasan
    Assignee: Pradeep Kamath
    Fix For: types_branch


    {code}
    A = load '/user/sms/data/student.data' using PigStorage(' ') as (name: chararray, age: int, gpa: float);
    B = group A by $1;
    C = foreach B{ D = order A by $0; generate D; }
    describe C;
    describe B;
    explain C;
    describe B;
    56335 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.LOVisitor.visit(LOVisitor.java:121)
    at org.apache.pig.impl.logicalLayer.PlanSetter.visit(PlanSetter.java:58)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:262)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:39)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:65)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67)
    at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50)
    at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)
    at org.apache.pig.PigServer.compileLp(PigServer.java:549)
    at org.apache.pig.PigServer.dumpSchema(PigServer.java:285)
    at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:181)
    at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
    at org.apache.pig.Main.main(Main.java:282)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at Sep 12, 2008 at 2:32 pm
    [ https://issues.apache.org/jira/browse/PIG-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-407:
    -------------------------------

    Attachment: PIG-407.patch

    Attached patch for resolving the issue. THe reported query now works. All unit tests passed with the patch
    Explain followed by Describe throws exception
    ---------------------------------------------

    Key: PIG-407
    URL: https://issues.apache.org/jira/browse/PIG-407
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: types_branch
    Reporter: Santhosh Srinivasan
    Assignee: Pradeep Kamath
    Fix For: types_branch

    Attachments: PIG-407.patch


    {code}
    A = load '/user/sms/data/student.data' using PigStorage(' ') as (name: chararray, age: int, gpa: float);
    B = group A by $1;
    C = foreach B{ D = order A by $0; generate D; }
    describe C;
    describe B;
    explain C;
    describe B;
    56335 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.LOVisitor.visit(LOVisitor.java:121)
    at org.apache.pig.impl.logicalLayer.PlanSetter.visit(PlanSetter.java:58)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:262)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:39)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:65)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67)
    at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50)
    at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)
    at org.apache.pig.PigServer.compileLp(PigServer.java:549)
    at org.apache.pig.PigServer.dumpSchema(PigServer.java:285)
    at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:181)
    at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
    at org.apache.pig.Main.main(Main.java:282)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at Sep 12, 2008 at 2:34 pm
    [ https://issues.apache.org/jira/browse/PIG-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-407:
    -------------------------------

    Patch Info: [Patch Available]
    Explain followed by Describe throws exception
    ---------------------------------------------

    Key: PIG-407
    URL: https://issues.apache.org/jira/browse/PIG-407
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: types_branch
    Reporter: Santhosh Srinivasan
    Assignee: Pradeep Kamath
    Fix For: types_branch

    Attachments: PIG-407.patch


    {code}
    A = load '/user/sms/data/student.data' using PigStorage(' ') as (name: chararray, age: int, gpa: float);
    B = group A by $1;
    C = foreach B{ D = order A by $0; generate D; }
    describe C;
    describe B;
    explain C;
    describe B;
    56335 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.LOVisitor.visit(LOVisitor.java:121)
    at org.apache.pig.impl.logicalLayer.PlanSetter.visit(PlanSetter.java:58)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:262)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:39)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:65)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67)
    at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50)
    at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)
    at org.apache.pig.PigServer.compileLp(PigServer.java:549)
    at org.apache.pig.PigServer.dumpSchema(PigServer.java:285)
    at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:181)
    at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
    at org.apache.pig.Main.main(Main.java:282)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Olga Natkovich (JIRA) at Sep 12, 2008 at 6:59 pm
    [ https://issues.apache.org/jira/browse/PIG-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Olga Natkovich resolved PIG-407.
    --------------------------------

    Resolution: Fixed

    patch committed, thanks, pradeep
    Explain followed by Describe throws exception
    ---------------------------------------------

    Key: PIG-407
    URL: https://issues.apache.org/jira/browse/PIG-407
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: types_branch
    Reporter: Santhosh Srinivasan
    Assignee: Pradeep Kamath
    Fix For: types_branch

    Attachments: PIG-407.patch


    {code}
    A = load '/user/sms/data/student.data' using PigStorage(' ') as (name: chararray, age: int, gpa: float);
    B = group A by $1;
    C = foreach B{ D = order A by $0; generate D; }
    describe C;
    describe B;
    explain C;
    describe B;
    56335 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.LOVisitor.visit(LOVisitor.java:121)
    at org.apache.pig.impl.logicalLayer.PlanSetter.visit(PlanSetter.java:58)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:262)
    at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:39)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:65)
    at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67)
    at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50)
    at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)
    at org.apache.pig.PigServer.compileLp(PigServer.java:549)
    at org.apache.pig.PigServer.dumpSchema(PigServer.java:285)
    at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:181)
    at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
    at org.apache.pig.Main.main(Main.java:282)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedAug 30, '08 at 1:10a
activeSep 12, '08 at 6:59p
posts6
users1
websitepig.apache.org

1 user in discussion

Olga Natkovich (JIRA): 6 posts

People

Translate

site design / logo © 2022 Grokbase