hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12833) TestShell leaks connections
Date Fri, 09 Jan 2015 20:47:34 GMT

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

Enis Soztutar commented on HBASE-12833:
---------------------------------------

if table.rb also create a connection per ruby {{table}} instance than it looks more critical
to fix. 

> TestShell leaks connections
> ---------------------------
>
>                 Key: HBASE-12833
>                 URL: https://issues.apache.org/jira/browse/HBASE-12833
>             Project: HBase
>          Issue Type: Test
>          Components: shell, test
>    Affects Versions: 2.0.0
>            Reporter: Nick Dimiduk
>             Fix For: 1.0.0
>
>
> TestShell is erring out (timeout) consistently for me. Culprit is OOM cannot create native
thread. It looks to me like test_table.rb and hbase/table.rb are made for leaking connections.
table calls ConnectionFactory.createConnection() for every table but provides no close() method
to clean it up. test_table creates a new table with every test.



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

Mime
View raw message