You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/04/22 19:21:02 UTC

[jira] [Updated] (DRILL-2740) Writers need to be AutoCloseable

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

Chris Westin updated DRILL-2740:
--------------------------------
    Fix Version/s:     (was: 1.0.0)
                   1.1.0

> Writers need to be AutoCloseable
> --------------------------------
>
>                 Key: DRILL-2740
>                 URL: https://issues.apache.org/jira/browse/DRILL-2740
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 0.8.0
>            Reporter: Chris Westin
>            Assignee: Chris Westin
>             Fix For: 1.1.0
>
>
> Writers (such as ComplexWriterImpl, or other AbstractBaseWriter derivatives) need to be AutoCloseables. At present, they retain references to the empty DrillBuf, even after clear() is called because of their operating assumption that they always have a reference to a DrillBuf. But with strict accounting, we shouldn't even be hanging on to empty DrillBufs, but should instead release them.



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