Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6444117B91 for ; Mon, 29 Sep 2014 18:18:35 +0000 (UTC) Received: (qmail 84733 invoked by uid 500); 29 Sep 2014 18:18:34 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 84635 invoked by uid 500); 29 Sep 2014 18:18:34 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 84429 invoked by uid 500); 29 Sep 2014 18:18:34 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 84403 invoked by uid 99); 29 Sep 2014 18:18:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 18:18:34 +0000 Date: Mon, 29 Sep 2014 18:18:34 +0000 (UTC) From: "Daniel Dai (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PIG-4202) UDFContext.isFrontend return true for OutputCommitter in local mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151995#comment-14151995 ] Daniel Dai commented on PIG-4202: --------------------------------- Pig has a single PigOutputCommitter derived from mapreduce.OutputCommitter even when there are multiple HDFS outputs. PigOutputCommitter is a wrapper, and it will invoke individual OutputCommitter sequentially. We only experience static variable issue with PigOutputCommitter itself. If the wrapped OutputCommitter has its own static variable, yes, they might have some issues as well. > 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, PIG-4202-2.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)