Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3446 Umbrella jira for Pig on Tez
  3. PIG-3786

POReservoirSample should handle endOfAllInput flag

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: tez-branch
    • Fix Version/s: tez-branch
    • Component/s: tez
    • Labels:
      None

      Description

      POReservoirSample assumes it always get STATUS_OK until it hits STATUS_EOP, means all inputs finished. This is not true if the plan also contains a POStream, since POStream will issue a STATUS_EOP even if inputs are not exhausted. Need to make POReservoirSample handles STATUS_EOP and endOfAllInput flag. This cause e2e test failure such as ComputeSpec_3.

      POPoissonSample should do the same.

        Attachments

        1. PIG-3786-1.patch
          10 kB
          Daniel Dai

          Activity

            People

            • Assignee:
              daijy Daniel Dai
              Reporter:
              daijy Daniel Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: