You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2009/05/15 19:09:45 UTC

[jira] Commented: (PIG-810) Scripts failing with NPE

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

Olga Natkovich commented on PIG-810:
------------------------------------

+1

> Scripts failing with NPE
> ------------------------
>
>                 Key: PIG-810
>                 URL: https://issues.apache.org/jira/browse/PIG-810
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.3.0
>
>         Attachments: null_pointer.patch, PIG-810.patch
>
>
> Scripts such as:
> {code}
> a = load 'nosuchfile';
> b = store a into 'bla';
> {code}
> are failing with
> {code}
> ERROR 2043: Unexpected error during execution.
> org.apache.pig.backend.executionengine.ExecException: ERROR 2043: Unexpected error during execution.
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:275)
>         at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:757)
>         at org.apache.pig.PigServer.execute(PigServer.java:750)
>         at org.apache.pig.PigServer.access$100(PigServer.java:88)
>         at org.apache.pig.PigServer$Graph.execute(PigServer.java:917)
>         at org.apache.pig.PigServer.executeBatch(PigServer.java:242)
>         at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:110)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:151)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:123)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:88)
>         at org.apache.pig.Main.main(Main.java:372)
> Caused by: java.lang.NullPointerException
>         at org.apache.pig.tools.pigstats.PigStats.accumulateMRStats(PigStats.java:175)
>         at org.apache.pig.tools.pigstats.PigStats.accumulateStats(PigStats.java:94)
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:148)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:262)
>         ... 10 more
> {code}

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