pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shravan Matthur Narayanamurthy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-343) Simple script with SPLIT fails
Date Fri, 08 Aug 2008 18:39:44 GMT

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

Shravan Matthur Narayanamurthy commented on PIG-343:
----------------------------------------------------

Seeing unit test failures in trunk now, I thought I must be missing something:) 

The patch satisfies the above definition for a good patch. Also I have included modified golden
files to make the log to phy compiler tests pass. So now we have the LogToPhyCompiler test
passing and hence lesser number of failures :)

Please verify.

Also related is Pig-370. Please check. Apply the current patch before applying Pig-370.

> Simple script with SPLIT fails
> ------------------------------
>
>                 Key: PIG-343
>                 URL: https://issues.apache.org/jira/browse/PIG-343
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Shravan Matthur Narayanamurthy
>             Fix For: types_branch
>
>         Attachments: 343.patch
>
>
> Script:
> grunt> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> grunt> split A into X if age > 19, Y if age <= 19;
> grunt> store X into 'X';
> Stack:
> 08/07/28 11:46:28 WARN pig.PigServer: bytearray is implicitly casted to integer under
LOGreaterThan Operator
> 08/07/28 11:46:29 ERROR grunt.GruntParser: java.io.IOException: Unable to store for alias:
X [null]
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:285)
>         at org.apache.pig.PigServer.execute(PigServer.java:494)
>         at org.apache.pig.PigServer.store(PigServer.java:333)
>         at org.apache.pig.PigServer.store(PigServer.java:319)
>         at org.apache.pig.tools.grunt.GruntParser.processStore(GruntParser.java:189)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:342)
>         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:278)
> Caused by: org.apache.pig.backend.executionengine.ExecException
>         ... 9 more
> Caused by: org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobCreationException
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:159)
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:104)
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:53)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:275)
>         ... 8 more
> Caused by: org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobCreationException
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:159)
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:146)
>         ... 11 more
> Caused by: org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobCreationException
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJobConf(JobControlCompiler.java:291)
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:131)
>         ... 12 more
> Caused by: java.lang.NullPointerException
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJobConf(JobControlCompiler.java:243)
>         ... 13 more

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