[
https://issues.apache.org/jira/browse/HBASE-27656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reid Chan resolved HBASE-27656.
-------------------------------
Fix Version/s: hbase-connectors-1.0.1
Hadoop Flags: Reviewed
Resolution: Fixed
> Make sure the close method of the SmartSonnection is called
> ------------------------------------------------------------
>
> Key: HBASE-27656
> URL: https://issues.apache.org/jira/browse/HBASE-27656
> Project: HBase
> Issue Type: Bug
> Components: spark
> Reporter: Zhen Wang
> Priority: Major
> Fix For: hbase-connectors-1.0.1
>
>
> The close method of SmartSonnection may not be called when an exception
> occurs in the hbaseForeachPartition or hbaseMapPartition methods of
> HBaseContext. We should use try-finally to ensure that the close method is
> called.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)