hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-810) Scripts failing with NPE
Date Thu, 14 May 2009 17:47:45 GMT
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


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.


Mime
View raw message