Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5078

Script fails with error - POStoreTez only accepts MROutput

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0, 0.16.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Script with following pattern

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

      fails with the below exception

      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)
      

        Attachments

        1. PIG-5078-4.patch
          45 kB
          Rohini Palaniswamy
        2. PIG-5078-3.patch
          27 kB
          Rohini Palaniswamy
        3. PIG-5078-2.patch
          27 kB
          Rohini Palaniswamy
        4. PIG-5078-1.patch
          24 kB
          Rohini Palaniswamy

          Issue Links

            Activity

              People

              • Assignee:
                rohini Rohini Palaniswamy
                Reporter:
                rohini Rohini Palaniswamy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: