Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4291D97DA for ; Tue, 29 Nov 2011 01:18:01 +0000 (UTC) Received: (qmail 60908 invoked by uid 500); 29 Nov 2011 01:18:01 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 60854 invoked by uid 500); 29 Nov 2011 01:18:01 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 60674 invoked by uid 99); 29 Nov 2011 01:18:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 01:18:00 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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, 29 Nov 2011 01:18:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 35439A57F6 for ; Tue, 29 Nov 2011 01:17:40 +0000 (UTC) Date: Tue, 29 Nov 2011 01:17:40 +0000 (UTC) From: "Tom White (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1561221107.20584.1322529460219.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1238015603.20563.1322529100100.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-3479) JobClient#getJob cannot find local jobs 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/MAPREDUCE-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated MAPREDUCE-3479: --------------------------------- Status: Patch Available (was: Open) > JobClient#getJob cannot find local jobs > --------------------------------------- > > Key: MAPREDUCE-3479 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3479 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: client > Affects Versions: 0.23.0 > Reporter: Tom White > Assignee: Tom White > Attachments: MAPREDUCE-3479.patch > > > The problem is that JobClient#submitJob doesn't pass the Cluster object to Job for the submission process, which means that two Cluster objects and two LocalJobRunner objects are created. LocalJobRunner keeps an instance map of job IDs to Jobs, and when JobClient#getJob is called the LocalJobRunner with the unpopulated map is used which results in the job not being found. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira