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 3C258DB58 for ; Thu, 18 Oct 2012 21:24:29 +0000 (UTC) Received: (qmail 130 invoked by uid 500); 18 Oct 2012 21:24:28 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 99927 invoked by uid 500); 18 Oct 2012 21:24:28 -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 99916 invoked by uid 99); 18 Oct 2012 21:24:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 21:24:27 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of suarezadrian1@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 21:24:21 +0000 Received: by mail-vc0-f176.google.com with SMTP id gb22so11912364vcb.35 for ; Thu, 18 Oct 2012 14:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4VO7O34Wal8f6ZRbCouQMDNY/Egd7A/qaPIX004uHFQ=; b=CxVHn0XWwo75hKbTNoySSxnnoYlHKQX8BuG+YX/ooZbirClMXu/ooLRFmp3I3iVgyi PSYTMK7fHfDdt47fJHr0XlLvNvmaTajWRYNK5qMSj2li98Ri7N189yZpyE1sQdNo2N87 WHnX3cDRJA1H0huxcaxjBNS+rC3GxKGQB2kcN2y1Nqh23+JqXI/ASx92UfK2uFBHcwW3 K0qT+VRn3lhWLm2p8eyD8PUaErEoy1Jav45/BkZGWv+a4lrexHCWyqanLJcR8bfBemqR uVnJSBoZRzze5Qhk7dQXR156HjCuf5BKI18rCfNqm+0yPo3DJ1kHcs+KefF6MGNuhxrr QVJg== MIME-Version: 1.0 Received: by 10.220.226.67 with SMTP id iv3mr7445269vcb.57.1350595440051; Thu, 18 Oct 2012 14:24:00 -0700 (PDT) Received: by 10.58.64.102 with HTTP; Thu, 18 Oct 2012 14:23:59 -0700 (PDT) Date: Thu, 18 Oct 2012 17:23:59 -0400 Message-ID: Subject: Getting the configuration object for a MapReduce job from the DataNode From: Adrian Suarez To: mapreduce-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=14dae9cdc76b7084d504cc5c01c4 X-Virus-Checked: Checked by ClamAV on apache.org --14dae9cdc76b7084d504cc5c01c4 Content-Type: text/plain; charset=ISO-8859-1 What's the best way to get the configuration object for a job, assuming that I only know the job ID? I remember seeing some method or constructor that creates a configuration object from an XML file, and I know that the job's configuration file gets saved in the logs directory, but I'm wondering if there is a more correct way of doing this that doesn't involve assuming the existence of an XML file with a particular name. --14dae9cdc76b7084d504cc5c01c4--