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

tuple in POStream binaryInputQueue keep changing

    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
    • Hadoop Flags:
      Reviewed

      Description

      Similar to the comments in POSimpleTezLoad:

          /**
           * Previously, we reused the same Result object for all results, but we found
           * certain operators (e.g. POStream) save references to the Result object and
           * expect it to be constant.
           */
      

      Tuples put into binaryInputQueue get changed when it is actually processed. Not exactly sure why, but make a copy of the tuple solves the issue.

        Attachments

        1. PIG-3789-1.patch
          1 kB
          Daniel Dai
        2. PIG-3789-2.patch
          2 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: