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 28E6F763F for ; Thu, 1 Dec 2011 21:51:02 +0000 (UTC) Received: (qmail 42491 invoked by uid 500); 1 Dec 2011 21:51:02 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 42467 invoked by uid 500); 1 Dec 2011 21:51:02 -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 42458 invoked by uid 99); 1 Dec 2011 21:51:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 21:51:01 +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; Thu, 01 Dec 2011 21:51: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 E9077B58B5 for ; Thu, 1 Dec 2011 21:50:40 +0000 (UTC) Date: Thu, 1 Dec 2011 21:50:40 +0000 (UTC) From: "Alejandro Abdelnur (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1901226959.32822.1322776240955.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1238015603.20563.1322529100100.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13161218#comment-13161218 ] Alejandro Abdelnur commented on MAPREDUCE-3479: ----------------------------------------------- +1 > 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, 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