Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8DCA6F5F for ; Tue, 14 Jun 2011 09:03:11 +0000 (UTC) Received: (qmail 10018 invoked by uid 500); 14 Jun 2011 09:03:11 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 9782 invoked by uid 500); 14 Jun 2011 09:03:10 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 9723 invoked by uid 99); 14 Jun 2011 09:03:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 09:03:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 09:03:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 67152415DBE for ; Tue, 14 Jun 2011 09:02:47 +0000 (UTC) Date: Tue, 14 Jun 2011 09:02:47 +0000 (UTC) From: "Somnath (JIRA)" To: mapreduce-dev@hadoop.apache.org Message-ID: <1238109802.2111.1308042167418.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2590) How to access Job Configuration file in Partitioner 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 How to access Job Configuration file in Partitioner --------------------------------------------------- Key: MAPREDUCE-2590 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2590 Project: Hadoop Map/Reduce Issue Type: Task Reporter: Somnath Priority: Minor I need to access Job Configuration file in partitioner to fetch some information. Generally we can access job configuration file easily in map or reduce side by this code Configuration config = context.getConfiguration(); But this same code cannot be used in partitioner. To solve this issue I followed the patch https://issues.apache.org/jira/browse/MAPREDUCE-2474 but it is a doc so I downloaded the latest trunk code and generate the jar but I did not get any extra feature from that to call the job configuration file So any one knows the code to call Job Configuration file in partitioner. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira