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

Micah Kornfield resolved ARROW-6199.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0

Issue resolved by pull request 5059
[https://github.com/apache/arrow/pull/5059]

> [Java] Avro adapter avoid potential resource leak.
> --------------------------------------------------
>
>                 Key: ARROW-6199
>                 URL: https://issues.apache.org/jira/browse/ARROW-6199
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: Java
>            Reporter: Ji Liu
>            Assignee: Ji Liu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Currently, avro consumer interface has no close API, which may cause resource 
> leak like {{AvroBytesConsumer#cacheBuffer}}.
> To resolve this, make consumer extends {{AutoCloseable}} and create 
> {{CompositeAvroConsumer}} to encompasses consume and close logic. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to