You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2014/09/26 00:09:34 UTC

[jira] [Comment Edited] (PIG-4202) UDFContext.isFrontend return true for OutputCommitter in local mode

    [ https://issues.apache.org/jira/browse/PIG-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14148386#comment-14148386 ] 

Rohini Palaniswamy edited comment on PIG-4202 at 9/25/14 10:09 PM:
-------------------------------------------------------------------

You can add check for jconf.get("mapreduce.job.dir") == null instead of introducing a new setting for isFrontEnd(). Can we also go back to isUDFConfEmpty()?  UDFContext.destroy() in PigProcessor.close() should take care of resetting UDFContext on container reuse. If it does not we need to fix that. 


was (Author: rohini):
You can add check for jconf.get("mapreduce.job.dir") == null instead of introducing a new setting for isFrontEnd(). Can we also go back to isUDFConfEmpty()?

> UDFContext.isFrontend return true for OutputCommitter in local mode
> -------------------------------------------------------------------
>
>                 Key: PIG-4202
>                 URL: https://issues.apache.org/jira/browse/PIG-4202
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.14.0
>
>         Attachments: PIG-4202-1.patch
>
>
> We switch to use UDFContext.isFrontend in PIG-4187. However, it does not work as expected in local mode. This causes some local mode test fail (TestOrcStoragePushdown.createInputData).



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