hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13437) ThriftServer leaks ZooKeeper connections
Date Wed, 22 Apr 2015 16:27:00 GMT

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

Hudson commented on HBASE-13437:
--------------------------------

FAILURE: Integrated in HBase-1.2 #15 (See [https://builds.apache.org/job/HBase-1.2/15/])
HBASE-13437 ThriftServer leaks ZooKeeper connections (Winger Pun) (tedyu: rev 71b77555848445f0c6e8b26f4ea512302d41e469)
* hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestConnectionCache.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/util/ConnectionCache.java
HBASE-13437 Addendum removes MiscTests (tedyu: rev 30880bca556542c1043fba5d81fc167cef2df270)
* hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestConnectionCache.java


> ThriftServer leaks ZooKeeper connections
> ----------------------------------------
>
>                 Key: HBASE-13437
>                 URL: https://issues.apache.org/jira/browse/HBASE-13437
>             Project: HBase
>          Issue Type: Bug
>          Components: Thrift
>    Affects Versions: 0.98.8
>            Reporter: Winger Pun
>            Assignee: Winger Pun
>             Fix For: 2.0.0, 1.1.0, 0.98.13, 1.0.2, 1.2.0
>
>         Attachments: HBASE-13437_1.patch, HBASE-13437_1.patch, hbase-13437-fix.patch
>
>
> HBase ThriftServer will cache Zookeeper connection in memory using org.apache.hadoop.hbase.util.ConnectionCache.
This class has a mechanism called chore to clean up connections idle for too long(default
is 10 min). But method timedOut for testing whether idle exceed for maxIdleTime always return
false which leads to never release the Zookeeper connection. If we send request to ThriftServer
every maxIdleTime then ThriftServer will keep thousands of Zookeeper Connection soon.



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

Mime
View raw message