Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 48903 invoked from network); 27 Jan 2010 05:30:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2010 05:30:58 -0000 Received: (qmail 65404 invoked by uid 500); 27 Jan 2010 05:30:58 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 65322 invoked by uid 500); 27 Jan 2010 05:30:58 -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 65309 invoked by uid 99); 27 Jan 2010 05:30:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 05:30:57 +0000 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, 27 Jan 2010 05:30:55 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C4FBE29A0019 for ; Tue, 26 Jan 2010 21:30:34 -0800 (PST) Message-ID: <1646939147.57831264570234805.JavaMail.jira@brutus.apache.org> Date: Wed, 27 Jan 2010 05:30:34 +0000 (UTC) From: "Tom White (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1395) Sqoop does not check return value of Job.waitForCompletion() In-Reply-To: <1322978322.405781264113115742.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated MAPREDUCE-1395: --------------------------------- Resolution: Fixed Fix Version/s: 0.22.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I've just committed this. Thanks Aaron! > Sqoop does not check return value of Job.waitForCompletion() > ------------------------------------------------------------ > > Key: MAPREDUCE-1395 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1395 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/sqoop > Reporter: Aaron Kimball > Assignee: Aaron Kimball > Fix For: 0.22.0 > > Attachments: MAPREDUCE-1395.patch > > > Old code depended on JobClient.runJob() throwing IOException on failure. Job.waitForCompletion can fail in that manner, or it can fail by returning false. Sqoop needs to check for this condition. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.