You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Claire Fautsch (JIRA)" <ji...@apache.org> on 2014/08/27 09:55:01 UTC
[jira] [Updated] (SQOOP-1476) Generic JDBC Connector - DB
connections not closed
[ https://issues.apache.org/jira/browse/SQOOP-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claire Fautsch updated SQOOP-1476:
----------------------------------
Attachment: GenericJdbcImportInitializer.patch
GenericJdbcExportDestroyer.patch
> Generic JDBC Connector - DB connections not closed
> --------------------------------------------------
>
> Key: SQOOP-1476
> URL: https://issues.apache.org/jira/browse/SQOOP-1476
> Project: Sqoop
> Issue Type: Bug
> Components: connectors/generic
> Affects Versions: 1.99.3
> Reporter: Claire Fautsch
> Priority: Minor
> Attachments: GenericJdbcExportDestroyer.patch, GenericJdbcImportInitializer.patch
>
>
> When using Generic JDBC Connector to export/import data with Sqoop2, database connections are not always properly closed.
> Root cause is GenericJdbcExecutor not properly closed in
> - {{GenericJdbcExportDestroyer.moveDataToDestinationTable}}
> - {{GenericJdbcImportInitializer.getSchema}}
> Adding {{executor.close}} to both methods should solve the problem
> Problem was identified in sqoop-connector-generic-jdbc-1.99.3-cdh5.0.2.
--
This message was sent by Atlassian JIRA
(v6.2#6252)