You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/11 16:18:11 UTC

[jira] [Commented] (DRILL-4768) Drill may leak hive meta store connection if hive meta store client call hits error

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

ASF GitHub Bot commented on DRILL-4768:
---------------------------------------

GitHub user jinfengni opened a pull request:

    https://github.com/apache/drill/pull/543

    DRILL-4768: Fix leaking hive meta store connection in Drill's hive me…

    …tastore client call.
    
    do not call reconnect if the connection is still alive and the error is caused by either UnknownTableException or access error.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jinfengni/incubator-drill DRILL-4768

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/543.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #543
    
----
commit 20a46950b37d05b7e5b0500f0d195ac7f418fe8d
Author: Jinfeng Ni <jn...@apache.org>
Date:   2016-07-08T04:48:53Z

    DRILL-4768: Fix leaking hive meta store connection in Drill's hive metastore client call.
    
    do not call reconnect if the connection is still alive and the error is caused by either UnknownTableException or access error.

----


> Drill may leak hive meta store connection if hive meta store client call hits error
> -----------------------------------------------------------------------------------
>
>                 Key: DRILL-4768
>                 URL: https://issues.apache.org/jira/browse/DRILL-4768
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Hive
>            Reporter: Jinfeng Ni
>            Assignee: Jinfeng Ni
>
> We are seeing one drillbit creates hundreds of connections to hive meta store. This indicates that drill is leaking those connection, and did not close those connections properly. When such leaking happens, it may prevent other applications from connecting to hive meta store. 
> It seems one cause of leaking connection happens when hive meta store client call hits exception. 
>  



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