[
https://issues.apache.org/jira/browse/HAWQ-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15677421#comment-15677421
]
Shivram Mani commented on HAWQ-1152:
------------------------------------
Introduced an endIteration function to the Bridge Interface which is
implemented by both the ReadBridge and WriteBridge. endIteration will be called
in both the Read/Write Resource class in the finally block to ensure the
resource is closed during any scenario (including client interrupt exceptions)
> Ensure PXF bridge(read and write) accessor resource is closed in every
> scenario
> -------------------------------------------------------------------------------
>
> Key: HAWQ-1152
> URL: https://issues.apache.org/jira/browse/HAWQ-1152
> Project: Apache HAWQ
> Issue Type: Bug
> Components: PXF
> Reporter: Shivram Mani
> Assignee: Lei Chang
>
> Currently there are scenarios when the fileAccessor isn't closed eg:
> ClientAbortException when HAWQ terminates a query.
> Include an endIteration function in the Bridge class that is responsible for
> closing the fileAcessor resource during read or write
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)