pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohini Palaniswamy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-4503) [Pig on Tez] NPE in UnionOptimizer with multiple levels of union
Date Thu, 16 Apr 2015 05:02:59 GMT

     [ https://issues.apache.org/jira/browse/PIG-4503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rohini Palaniswamy updated PIG-4503:
------------------------------------
    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 

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

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

  was:
   When there are multiple levels of union, with the last one ending in store there is a NPE
in 

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

It should check for (getStore() != null || getOutput() equals succOpKey)


> [Pig on Tez] NPE in UnionOptimizer with multiple levels of union
> ----------------------------------------------------------------
>
>                 Key: PIG-4503
>                 URL: https://issues.apache.org/jira/browse/PIG-4503
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: 0.15.0
>
>
>    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 
> {code}
> if (succ.isVertexGroup()
>                         && succ.getVertexGroupInfo().getOutput()
>                                 .equals(succOp.getOperatorKey().toString())) {
>                     succOpVertexGroup = succ;
>                     break;
>                 }
> {code}
> It should check for getOutput() != null as it now has a store vertexgroup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message