hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MAPREDUCE-1340) Sqoop should close database connection in case of accidental interruption of command execution
Date Mon, 03 May 2010 18:45:56 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron Kimball resolved MAPREDUCE-1340.
--------------------------------------

    Resolution: Won't Fix

Sqoop has been removed from MapReduce; issue moved to http://github.com/cloudera/sqoop/issues#issue/3

> Sqoop should close database connection in case of accidental interruption of command
execution
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1340
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1340
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/sqoop
>            Reporter: Leonid Furman
>
> If a sqoop command is running and suddenly interrupted or killed, all database connections
should be automatically closed.
> Currently the code catches java.lang.InterruptedException, but it doesn't release and
close the database connections in the catch block.
> In case this issue is found to be a problem, I suppose it may require some code refactoring
in the following classes:
> org.apache.hadoop.sqoop.mapred.ImportJob
> org.apache.hadoop.sqoop.manager.SqlManager (and all its subclasses)
> org.apache.hadoop.sqoop.mapreduce.DataDrivenImportJob

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message