hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10571) HiveMetaStoreClient should close existing thrift connection before its reconnect
Date Wed, 30 Sep 2015 16:28:05 GMT

    [ https://issues.apache.org/jira/browse/HIVE-10571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14937475#comment-14937475
] 

Chaoyu Tang commented on HIVE-10571:
------------------------------------

[~leftylev] Thanks for checking that. I was able to find the commit in branch-1 and 2.0.0
both with commit hashcode 8fb805225c9d6960c7d39d862de6b3326650551c
{code}
commit 8fb805225c9d6960c7d39d862de6b3326650551c
Author: Szehon Ho <szehon@cloudera.com>
Date:   Mon May 4 11:20:36 2015 -0700

    HIVE-10571 : HiveMetaStoreClient should close existing thrift connection before its reconnect
(Chaoyu Tang via Szehon)
{code}


> HiveMetaStoreClient should close existing thrift connection before its reconnect
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-10571
>                 URL: https://issues.apache.org/jira/browse/HIVE-10571
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-10571.patch, HIVE-10571.patch, HIVE-10571.patch
>
>
> HiveMetaStoreClient should first close its existing thrift connection, no matter it is
already dead or still live, before its opening another connection in its reconnect() method.
Otherwise, it might lead to resource huge accumulation or leak at HMS site when client keeps
on retrying.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message