[
https://issues.apache.org/jira/browse/HIVE-12418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086075#comment-15086075
]
Aihua Xu commented on HIVE-12418:
---------------------------------
Yeah. I gave the same comments in HIVE-12250 and Naveen took that out there.
But seems it still gave leaks and finalize() did take care of that.
Do you have any suggestions on that?
> HiveHBaseTableInputFormat.getRecordReader() causes Zookeeper connection leak.
> -----------------------------------------------------------------------------
>
> Key: HIVE-12418
> URL: https://issues.apache.org/jira/browse/HIVE-12418
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 1.1.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Fix For: 2.0.0
>
> Attachments: HIVE-12418.patch
>
>
> @Override
> public RecordReader<ImmutableBytesWritable, ResultWritable> getRecordReader(
> ...
> ...
> setHTable(HiveHBaseInputFormatUtil.getTable(jobConf));
> ...
> The HiveHBaseInputFormatUtil.getTable() creates new ZooKeeper
> connections(when HTable instance is created) which are never closed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)