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

Removing empty keys in UDFContext broke one LoadFunc

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.0
    • Component/s: tez
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      PIG-4697 separated UDFContext specific to each vertex. But it also had an optimization to remove empty keys. That broke one user LoadFunc which was keeping the UDFContext Properties as a local variable and serializing in setLocation only if getSchema() was called. Even if UDFContext.isFrontend() logic was used it would have worked.

        Attachments

        1. PIG-4736-1.patch
          8 kB
          Rohini Palaniswamy

          Issue Links

            Activity

              People

              • Assignee:
                rohini Rohini Palaniswamy
                Reporter:
                rohini Rohini Palaniswamy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: