You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2016/12/16 20:09:58 UTC

[jira] [Created] (PIG-5078) Script fails with error - POStoreTez only accepts MROutput

Rohini Palaniswamy created PIG-5078:
---------------------------------------

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


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)