Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 68304 invoked from network); 12 Nov 2008 10:48:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 10:48:07 -0000 Received: (qmail 28175 invoked by uid 500); 12 Nov 2008 10:48:12 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 28135 invoked by uid 500); 12 Nov 2008 10:48: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 28124 invoked by uid 99); 12 Nov 2008 10:48: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 02:48: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 10:47:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50D56234C25D for ; Wed, 12 Nov 2008 02:47:44 -0800 (PST) Message-ID: <14265366.1226486864316.JavaMail.jira@brutus> Date: Wed, 12 Nov 2008 02:47:44 -0800 (PST) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-4639) extend JobClient.runJob(JobConf) with the ability to take a timeout, so fail better during test runs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.