pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-5078) Script fails with error - POStoreTez only accepts MROutput
Date Sat, 14 Jan 2017 08:25:26 GMT

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

Daniel Dai commented on PIG-5078:
---------------------------------

+1

> Script fails with error - POStoreTez only accepts MROutput
> ----------------------------------------------------------
>
>                 Key: PIG-5078
>                 URL: https://issues.apache.org/jira/browse/PIG-5078
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: 0.17.0, 0.16.1
>
>         Attachments: PIG-5078-1.patch, PIG-5078-2.patch
>
>
> Script with following pattern
> {code}
> a = load 'file:///tmp/input' as (x:int, y:chararray);
> b = load 'file:///tmp/input1' as (y:chararray, x:int);
> c = union onschema a, b;" +
> split c into d if x <= 5, e if x <= 10, f if x >10, g if y == '6';
> h = union onschema d, e, f, g;
> store h into 'output';
> {code}
> fails with the below exception
> {code}
> Error: Failure while running task:org.apache.pig.backend.executionengine.ExecException:
ERROR 0: POStoreTez only accepts MROutput. key = scope-57, outputs = {scope-45=org.apache.tez.mapreduce.output.MROutput@154c3ee2,
scope-46=org.apache.tez.mapreduce.output.MROutput@1e986ab0, scope-44=org.apache.tez.mapreduce.output.MROutput@360aaa8a,
scope-47=org.apache.tez.mapreduce.output.MROutput@75a0d6b1}
> at org.apache.pig.backend.hadoop.executionengine.tez.plan.operator.POStoreTez.attachOutputs(POStoreTez.java:95)
> at org.apache.pig.backend.hadoop.executionengine.tez.runtime.PigProcessor.initializeOutputs(PigProcessor.java:372)
> at org.apache.pig.backend.hadoop.executionengine.tez.runtime.PigProcessor.run(PigProcessor.java:230)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message