Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 81659 invoked from network); 12 Nov 2008 11:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 11:32:07 -0000 Received: (qmail 88933 invoked by uid 500); 12 Nov 2008 11:32:13 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 88492 invoked by uid 500); 12 Nov 2008 11:32:12 -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 88477 invoked by uid 99); 12 Nov 2008 11:32:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 03:32:12 -0800 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; Wed, 12 Nov 2008 11:31:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 40A10234C27E for ; Wed, 12 Nov 2008 03:31:44 -0800 (PST) Message-ID: <2041775503.1226489504263.JavaMail.jira@brutus> Date: Wed, 12 Nov 2008 03:31:44 -0800 (PST) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Assigned: (HADOOP-4639) extend JobClient.runJob(JobConf) with the ability to take a timeout, so fail better during test runs In-Reply-To: <14265366.1226486864316.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-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran reassigned HADOOP-4639: -------------------------------------- Assignee: Steve Loughran > extend JobClient.runJob(JobConf) with the ability to take a timeout, so fail better during test runs > ---------------------------------------------------------------------------------------------------- > > Key: HADOOP-4639 > URL: https://issues.apache.org/jira/browse/HADOOP-4639 > Project: Hadoop Core > Issue Type: Improvement > Components: test > Affects Versions: 0.20.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > > Tests that submit jobs via JobClient hang until they are killed if something goes wrong in the back end -JobClient does not impose limits on how long runs should take, but JUnit does. If we had an overload of runJob() that took a timeout, JobClient could kill a job that was taking too long, extracting the stack trace and better diagnostics to the test reports. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.