[
https://issues.apache.org/jira/browse/ACCUMULO-4816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Tubbs resolved ACCUMULO-4816.
-----------------------------------------
Resolution: Duplicate
It looks like this was fixed in https://github.com/apache/accumulo/pull/1856
> DfsLogger.readHeaderAndReturnStream should return a Closeable
> -------------------------------------------------------------
>
> Key: ACCUMULO-4816
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4816
> Project: Accumulo
> Issue Type: Improvement
> Reporter: Christopher Tubbs
> Priority: Major
>
> With the change in https://github.com/apache/accumulo/pull/369, it reveals
> that there's a possible unclosed resource hidden in the object returned from
> DfsLogger.readHeaderAndReturnStream. This should return something which is a
> Closeable, so it can be used in a try-with-resources block and cleaned up
> properly just in case the extra stream allocates additional resources which
> need to be closed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)