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

Custom Partitioner not working with MultiQueryOptimizer

    XMLWordPrintableJSON

    Details

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

      Description

      When looking at PIG-3385, noticed some issues in handling of custom partitioner with multi-query optimization.

      C1 = group B1 by col1 PARTITION BY
             org.apache.pig.test.utils.SimpleCustomPartitioner parallel 2;
      C2 = group B2 by col1 PARTITION BY
             org.apache.pig.test.utils.SimpleCustomPartitioner parallel 2;
      

      This seems to be merged to one mapreduce job correctly but custom partitioner information was lost.

      C1 = group B1 by col1 PARTITION BY org.apache.pig.test.utils.SimpleCustomPartitioner parallel 2;
      C2 = group B2 by col1 parallel 2;
      

      This seems to be merged even though they should run on two different partitioner.

        Attachments

        1. pig-3435-v01.patch
          1 kB
          Koji Noguchi
        2. pig-3435-v02_skipcustompatitioner_for_merge.patch
          4 kB
          Koji Noguchi

          Activity

            People

            • Assignee:
              knoguchi Koji Noguchi
              Reporter:
              knoguchi Koji Noguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: