Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 85125 invoked from network); 22 Mar 2010 22:55:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Mar 2010 22:55:50 -0000 Received: (qmail 77471 invoked by uid 500); 22 Mar 2010 22:55:50 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 77452 invoked by uid 500); 22 Mar 2010 22:55:50 -0000 Mailing-List: contact pig-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-dev@hadoop.apache.org Received: (qmail 77385 invoked by uid 99); 22 Mar 2010 22:55:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 22:55:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 22:55:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3AB48234C1EF for ; Mon, 22 Mar 2010 22:55:27 +0000 (UTC) Message-ID: <472269587.418261269298527239.JavaMail.jira@brutus.apache.org> Date: Mon, 22 Mar 2010 22:55:27 +0000 (UTC) From: "Pradeep Kamath (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Updated: (PIG-1323) Communicate whether the call to LoadFunc.setLocation is being made in hadoop's front end or backend In-Reply-To: <50714023.418181269298407308.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PIG-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pradeep Kamath updated PIG-1323: -------------------------------- Attachment: PIG-1323.patch Attached patch addresses the issue in the description by setting state in the Configuration depending on where in PigInputFormat the LoadFunc.setLocation() method is called. No tests are includes since testing this in a unit test framework is not feasible - I have manually tested this. > Communicate whether the call to LoadFunc.setLocation is being made in hadoop's front end or backend > --------------------------------------------------------------------------------------------------- > > Key: PIG-1323 > URL: https://issues.apache.org/jira/browse/PIG-1323 > Project: Pig > Issue Type: Improvement > Affects Versions: 0.7.0 > Reporter: Pradeep Kamath > Assignee: Pradeep Kamath > Fix For: 0.7.0 > > Attachments: PIG-1323.patch > > > Loaders which interact with external systems like a metadata server may need to know if the LoadFunc.setLocation call happens from the frontend (on the client machine) or in the backend (on each map task). The Configuration in the Job argument to setLocation() can contain this information. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.