Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.99.3
-
None
Description
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