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

Christopher Tubbs updated ACCUMULO-4816:
----------------------------------------
    Affects Version/s:     (was: 2.0.0)

> 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
>             Fix For: 2.0.0
>
>
> 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
(v7.6.3#76005)

Reply via email to