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

[Pig on Tez] NPE in UnionOptimizer with multiple levels of union

    XMLWordPrintableJSON

    Details

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

      Description

      When there are multiple levels of union, with the last union having both store and an output (group by,join, etc) following it then there is a NPE in

      if (succ.isVertexGroup()
                              && succ.getVertexGroupInfo().getOutput()
                                      .equals(succOp.getOperatorKey().toString())) {
                          succOpVertexGroup = succ;
                          break;
                      }
      

      It should check for getOutput() != null as it now has a store vertexgroup

        Attachments

        1. PIG-4503-1.patch
          23 kB
          Rohini Palaniswamy
        2. PIG-4503-additionalfix.patch
          0.9 kB
          Rohini Palaniswamy

          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: