[
https://issues.apache.org/jira/browse/MAPREDUCE-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741215#action_12741215
]
Enis Soztutar commented on MAPREDUCE-840:
-----------------------------------------
At DBInputFormat.java, lines 359,360, the resultset and the statement are
closed, which should release the resources as stated in the javadoc. Is the
problem specific to the PostgreSQL driver?
> DBInputFormat leaves open transaction
> -------------------------------------
>
> Key: MAPREDUCE-840
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-840
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Aaron Kimball
> Assignee: Aaron Kimball
> Priority: Minor
> Attachments: MAPREDUCE-840.patch
>
>
> DBInputFormat.getSplits() does not connection.commit() after the COUNT query.
> This can leave an open transaction against the database which interferes with
> other connections to the same table.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.