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

2009-05-14 Thread Alan Gates (JIRA)

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

Alan Gates updated PIG-810:
---

Attachment: PIG-810.patch

 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
 Attachments: 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.



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

2009-05-14 Thread Alan Gates (JIRA)

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

Alan Gates updated PIG-810:
---

Fix Version/s: 0.3.0
   Status: Patch Available  (was: Open)

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