hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12418) HiveHBaseTableInputFormat.getRecordReader() causes Zookeeper connection leak.
Date Wed, 06 Jan 2016 19:02:40 GMT

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

Mime
View raw message