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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • tez-branch
    • tez-branch
    • tez
    • None
    • 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-2.patch
          2 kB
          Daniel Dai
        2. PIG-3789-1.patch
          1 kB
          Daniel Dai

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: