You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2014/02/18 13:08:21 UTC

[jira] [Updated] (PIG-3768) TezCompiler.visitUnion() doesn't add compiled TezOp to phyToTezOpMap

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

Cheolsoo Park updated PIG-3768:
-------------------------------

    Attachment: PIG-3768-1.patch

A trivial fix- adding the compiled union operator to phyToTezOpMap at the end.

> TezCompiler.visitUnion() doesn't add compiled TezOp to phyToTezOpMap 
> ---------------------------------------------------------------------
>
>                 Key: PIG-3768
>                 URL: https://issues.apache.org/jira/browse/PIG-3768
>             Project: Pig
>          Issue Type: Sub-task
>          Components: tez
>    Affects Versions: tez-branch
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>             Fix For: tez-branch
>
>         Attachments: PIG-3768-1.patch
>
>
> When a union alias is referred by another operator such as FRJoin, it causes NPE. Here is an example-
> {code}
> Caused by: java.lang.NullPointerException
>     at org.apache.pig.backend.hadoop.executionengine.tez.TezCompiler.visitFRJoin(TezCompiler.java:651)
>     ... 26 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)