drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill/MapR) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1735) JDBC driver's close() leaks resources in local mode
Date Mon, 17 Nov 2014 18:32:34 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Barclay (Drill/MapR) updated DRILL-1735:
-----------------------------------------------
    Attachment: Bug1735CloseDoesntCloseTest.java

Bug test case as JUnit test class.

> JDBC driver's close() leaks resources in local mode
> ---------------------------------------------------
>
>                 Key: DRILL-1735
>                 URL: https://issues.apache.org/jira/browse/DRILL-1735
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Daniel Barclay (Drill/MapR)
>         Attachments: Bug1735CloseDoesntCloseTest.java
>
>
> When the Drill JDBC driver is used in local mode (as  DriverManager.getConnection("jdbc:drill:zk=local",
... ), the close() method doesn't free resources:  Calling getConnection() and then close()
and then repeating that pair of calls enough times results in an exception, the root cause
exeception of which is an IOException saying "Too many open files":



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

Mime
View raw message