You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2014/02/28 21:38:19 UTC

[jira] [Created] (PIG-3786) POReservoirSample should handle endOfAllInput flag

Daniel Dai created PIG-3786:
-------------------------------

             Summary: POReservoirSample should handle endOfAllInput flag
                 Key: PIG-3786
                 URL: https://issues.apache.org/jira/browse/PIG-3786
             Project: Pig
          Issue Type: Sub-task
          Components: tez
    Affects Versions: tez-branch
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: tez-branch


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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)