[
https://issues.apache.org/jira/browse/ARROW-6199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ji Liu updated ARROW-6199:
--------------------------
Issue Type: Sub-task (was: Bug)
Parent: ARROW-5845
> [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
> Time Spent: 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)