Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 14153 invoked from network); 22 Sep 2008 05:42:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Sep 2008 05:42:07 -0000 Received: (qmail 25110 invoked by uid 500); 22 Sep 2008 05:42:02 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 25073 invoked by uid 500); 22 Sep 2008 05:42:02 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 25062 invoked by uid 99); 22 Sep 2008 05:42:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Sep 2008 22:42:02 -0700 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 Sep 2008 05:41:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5CF65234C1D4 for ; Sun, 21 Sep 2008 22:41:44 -0700 (PDT) Message-ID: <1514943930.1222062104375.JavaMail.jira@brutus> Date: Sun, 21 Sep 2008 22:41:44 -0700 (PDT) From: "Amar Kamat (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4236) JobTracker.killJob() fails to kill a job if the job is not yet initialized In-Reply-To: <1066018294.1222058984189.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amar Kamat updated HADOOP-4236: ------------------------------- Affects Version/s: 0.19.0 Fix Version/s: 0.19.0 > JobTracker.killJob() fails to kill a job if the job is not yet initialized > -------------------------------------------------------------------------- > > Key: HADOOP-4236 > URL: https://issues.apache.org/jira/browse/HADOOP-4236 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.19.0 > Reporter: Amar Kamat > Priority: Blocker > Fix For: 0.19.0 > > > HADOOP-3864 made the following changes to {{JobTracker.killJob()}} > {code} > public synchronized void killJob(JobID jobid) { > JobInProgress job = jobs.get(jobid); > - job.kill(); > + if (job.inited()) { > + job.kill(); > + } > } > {code} > This is a bug as a job will not get killed if its not yet initialized. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.