[ 
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)

Reply via email to