Christopher Tubbs created ACCUMULO-4816:

             Summary: DfsLogger.readHeaderAndReturnStream should return a 
                 Key: ACCUMULO-4816
             Project: Accumulo
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Christopher Tubbs

With the change in, 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

Reply via email to