[ 
https://issues.apache.org/jira/browse/SQOOP-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117417#comment-14117417
 ] 

ASF subversion and git services commented on SQOOP-1476:
--------------------------------------------------------

Commit 794099da4b4c5e8f7c1b47fc867740a8b4cb079c in sqoop's branch 
refs/heads/SQOOP-1367 from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=794099d ]

SQOOP-1476: Generic JDBC Connector - DB connections not closed

(Claire Fautsch via Jarek Jarcec Cecho)


> 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: SQOOP-1476.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. 
> Possible patch is attached



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to