You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Aaron Kimball (JIRA)" <ji...@apache.org> on 2010/01/21 23:33:54 UTC
[jira] Updated: (MAPREDUCE-1395) Sqoop does not check return value
of Job.waitForCompletion()
[ https://issues.apache.org/jira/browse/MAPREDUCE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Kimball updated MAPREDUCE-1395:
-------------------------------------
Attachment: MAPREDUCE-1395.patch
Attaching a patch which adds these checks. Includes testcases that trigger failures in jobs due to IOException as well as a "normal failure" condition. Refactored DataDrivenImportJob a bit to allow mapper dependency injection for this test.
> 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
> Reporter: Aaron Kimball
> Assignee: Aaron Kimball
> 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.