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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.15.0
    • None
    • None
    • 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-additionalfix.patch
          0.9 kB
          Rohini Palaniswamy
        2. PIG-4503-1.patch
          23 kB
          Rohini Palaniswamy

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: