hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-840) DBInputFormat leaves open transaction
Date Mon, 10 Aug 2009 07:28:14 GMT

    [ 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.


Mime
View raw message